Files
bun-src/test/bundler/transpiler/react-compiler-fixtures/codegen-inline-iife-reassign.ts
T
2026-08-27 21:09:14 +00:00

19 lines
265 B
TypeScript

import {makeArray, print} from 'shared-runtime';
function useTest() {
let w = {};
return makeArray(
(w = 42),
w,
(function foo() {
w = 999;
return 2;
})(),
);
}
export const FIXTURE_ENTRYPOINT = {
fn: useTest,
params: [],
};