JSTQL-JS-Transform/output_testing/932alias-capture-in-method-receiver.js

8 lines
No EOL
159 B
JavaScript

function Component() {
// a's mutable range should be limited
// the following line
let a = someObj();
let x = [];
a |> x.push(%);
return [x, a];
}