Files
bun-src/test/bundler/transpiler/react-compiler-fixtures/const-propagation-into-function-expression-global.js
T

9 lines
156 B
JavaScript
Raw Normal View History

2026-08-27 21:09:14 +00:00
function foo() {
const isX = GLOBAL_IS_X;
const getJSX = () => {
return <Child x={isX}></Child>;
};
const result = getJSX();
return result;
}