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

10 lines
118 B
JavaScript

function component(a) {
let x = { a };
let y = {};
(function () {
y = x;
})();
mutate(y);
return y;
}