JSTQL-JS-Transform/output_testing/594extend-scopes-if.js

14 lines
171 B
JavaScript
Raw Normal View History

function foo(a, b, c) {
let x = [];
if (a) {
if (b) {
if (c) {
0 |> x.push(%);
}
}
}
if (x.length) {
return x;
}
return null;
}