11 lines
No EOL
166 B
JavaScript
11 lines
No EOL
166 B
JavaScript
function foo(props) {
|
|
let x = [];
|
|
props.bar |> x.push(%);
|
|
if (props.cond) {
|
|
x = {};
|
|
x = [];
|
|
props.foo |> x.push(%);
|
|
}
|
|
x |> mut(%);
|
|
return x;
|
|
} |