JSTQL-JS-Transform/output_testing/1138capturing-func-alias-receiver-mutate.js

13 lines
No EOL
160 B
JavaScript

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