JSTQL-JS-Transform/output_testing/1149capturing-func-alias-captured-mutate-arr.js

16 lines
197 B
JavaScript
Raw Normal View History

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 y;
}