mirror of
https://github.com/facebook/react.git
synced 2026-02-26 18:58:05 +00:00
12 lines
155 B
JavaScript
12 lines
155 B
JavaScript
// @enableEmitFreeze true
|
|
|
|
function MyComponentName(props) {
|
|
let x = {};
|
|
foo(x, props.a);
|
|
foo(x, props.b);
|
|
|
|
let y = [];
|
|
y.push(x);
|
|
return y;
|
|
}
|