mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
14 lines
300 B
JavaScript
14 lines
300 B
JavaScript
function render() {
|
|
var _foo;
|
|
const bar = "bar",
|
|
renderFoo = () => _foo || (_foo = <foo bar={bar} />);
|
|
return renderFoo();
|
|
}
|
|
function render() {
|
|
var _foo2;
|
|
const bar = "bar",
|
|
renderFoo = () => _foo2 || (_foo2 = <foo bar={bar} baz={baz} />),
|
|
baz = "baz";
|
|
return renderFoo();
|
|
}
|