mirror of
https://github.com/facebook/react.git
synced 2026-02-26 04:04:59 +00:00
11 lines
167 B
JavaScript
11 lines
167 B
JavaScript
function Foo() {}
|
|
|
|
function Component(props) {
|
|
const a = [];
|
|
const b = {};
|
|
new Foo(a, b);
|
|
let _ = <div a={a} />;
|
|
new Foo(b);
|
|
return <div a={a} b={b} />;
|
|
}
|