Files
bun-src/test/bundler/transpiler/react-compiler-fixtures/capturing-function-alias-computed-load.js
2026-08-27 21:09:14 +00:00

17 lines
216 B
JavaScript

function bar(a) {
let x = [a];
let y = {};
const f0 = function () {
y = x[0];
};
f0();
return y;
}
export const FIXTURE_ENTRYPOINT = {
fn: bar,
params: ['TodoAdd'],
isComponent: 'TodoAdd',
};