JSTQL-JS-Transform/output_testing/606capturing-func-mutate.js

14 lines
162 B
JavaScript
Raw Normal View History

function component(a, b) {
let z = {
a
};
let y = {
b
};
let x = function () {
z.a = 2;
y.b |> console.log(%);
};
x();
return z;
}