JSTQL-JS-Transform/output_testing/578ssa-renaming-ternary.js

6 lines
139 B
JavaScript
Raw Normal View History

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