mirror of
https://github.com/facebook/react.git
synced 2026-02-26 04:14:59 +00:00
9 lines
156 B
JavaScript
9 lines
156 B
JavaScript
function foo() {
|
|
const isX = GLOBAL_IS_X;
|
|
const getJSX = () => {
|
|
return <Child x={isX}></Child>;
|
|
};
|
|
const result = getJSX();
|
|
return result;
|
|
}
|