7f01db2fb8
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. |
||
---|---|---|
.. | ||
generate-bytecode.spec.js | ||
helpers.js | ||
remove-proxy-rules.spec.js | ||
report-duplicate-labels.spec.js | ||
report-duplicate-rules.spec.js | ||
report-infinite-recursion.spec.js | ||
report-infinite-repetition.spec.js | ||
report-undefined-rules.spec.js |