Files
react/compiler/crates/react_hermes_parser/tests/fixtures/call.js
2024-04-02 16:49:31 -07:00

11 lines
159 B
JavaScript

function foo() {}
function Component(props) {
const a = [];
const b = {};
foo(a, b);
let _ = <div a={a} />;
foo(b);
return <div a={a} b={b} />;
}