JSTQL-JS-Transform/output_testing/442ssa-renaming-ternary-destruction.js

10 lines
168 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;
return x;
}