JSTQL-JS-Transform/output_testing/982capturing-fun-alias-captured-mutate-2.js

18 lines
No EOL
209 B
JavaScript

function component(foo, bar) {
let x = {
foo
};
let y = {
bar
};
const f0 = function () {
let a = {
y
};
let b = x;
a.x = b;
};
f0();
y |> mutate(%);
return x;
}