10 lines
No EOL
168 B
JavaScript
10 lines
No EOL
168 B
JavaScript
function foo(props) {
|
|
let x = [];
|
|
props.bar |> x.push(%);
|
|
props.cond ? (({
|
|
x
|
|
} = {
|
|
x: {}
|
|
}), [x] = [[]], props.foo |> x.push(%)) : null;
|
|
return x;
|
|
} |