JSTQL-JS-Transform/output_testing/514overlapping-scopes-within-block.js

11 lines
143 B
JavaScript
Raw Normal View History

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