JSTQL-JS-Transform/output_testing/445ssa-renaming-ternary-destruction-with-mutation.js

11 lines
183 B
JavaScript
Raw Normal View History

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