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

16 lines
174 B
JavaScript

function foo(x, y, z) {
const items = [z];
items.push(x);
const items2 = [];
if (x) {
items2.push(y);
}
if (y) {
items.push(x);
}
return items2;
}