JSTQL-JS-Transform/output_testing/608ssa-renaming-with-mutation.js

11 lines
166 B
JavaScript
Raw Normal View History

function foo(props) {
let x = [];
props.bar |> x.push(%);
if (props.cond) {
x = {};
x = [];
props.foo |> x.push(%);
}
x |> mut(%);
return x;
}