You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
David Majda 7f01db2fb8 Get rid of for-in loops
The for-in statement in JavaScript iterates also over inherited
properties. This is typically not desired and requires adding a
check using Object.prototype.hasOwnProperty inside the loop.

This commit replaces all for-in statements and related checks inside
them with iteration over Object.keys(...). The iteration is performed
using either Array.prototype.forEach of a plain for loop.
8 years ago
..
passes Don't use "objects" in lib/compiler/passes/report-duplicate-labels.js 8 years ago
asts.js Don't use "arrays" in lib/compiler/asts.js 8 years ago
index.js Get rid of for-in loops 8 years ago
js.js Replace some functions with arrow functions 8 years ago
opcodes.js Replace "var" with "let" & "const" 8 years ago
visitor.js Don't use "objects" in lib/compiler/visitor.js 8 years ago