Files
react/compiler/crates/react_hermes_parser/tests/fixtures/error.mutate-captured-arg-separately.js
2024-04-02 16:49:31 -07:00

11 lines
163 B
JavaScript

// Let's not support identifiers defined after use for now.
function component(a) {
let y = function () {
m(x);
};
let x = { a };
m(x);
return y;
}