738 B
738 B
Input
function Component(props) {
const callback = () => {
try {
return [];
} catch (e) {
return;
}
};
return callback();
}
export const FIXTURE_ENTRYPOINT = {
fn: Component,
params: [{}],
};
Code
import { c as _c } from "react/compiler-runtime";
function Component(props) {
const $ = _c(1);
const callback = _temp;
let t0;
if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
t0 = callback();
$[0] = t0;
} else {
t0 = $[0];
}
return t0;
}
function _temp() {
try {
return [];
} catch (t0) {
return;
}
}
export const FIXTURE_ENTRYPOINT = {
fn: Component,
params: [{}],
};
Eval output
(kind: ok) []