JSTQL-JS-Transform/output_testing/516capturing-function-decl.js

10 lines
107 B
JavaScript
Raw Normal View History

function component(a) {
let t = {
a
};
function x() {
t.foo();
}
t |> x(%);
return t;
}