Skip to content

Commit

Permalink
MAN-227 - update js script to put variable declaration in for loop
Browse files Browse the repository at this point in the history
  • Loading branch information
achimber-moj committed Jan 9, 2025
1 parent 5d8bdcb commit 1e38df6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .zap/traverse.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
function listChildren(node, level) {
var j
for (j = 0; j < node.getChildCount(); j++) {
for (let j = 0; j < node.getChildCount(); j++) {
print(Array(level + 1).join(' ') + node.getChildAt(j).getNodeName())
listChildren(node.getChildAt(j), level + 1)
}
Expand Down

0 comments on commit 1e38df6

Please sign in to comment.