JSTQL-JS-Transform/output_testing/1079ssa-property-call.js

13 lines
No EOL
180 B
JavaScript

function foo() {
const x = [];
const y = {
x: x
};
[] |> y.x.push(%);
return y;
}
export const FIXTURE_ENTRYPOINT = {
fn: foo,
params: [],
isComponent: false
};