Files
bun-src/test/bundler/transpiler/react-compiler-fixtures/function-expression-with-store-to-parameter.js
T
2026-08-27 21:09:14 +00:00

10 lines
186 B
JavaScript

function Component(props) {
const mutate = (object, key, value) => {
object.updated = true;
object[key] = value;
};
const x = makeObject(props);
mutate(x);
return x;
}