7 ms·
The `for … in` statement iterates over the enumerable properties of an object¹. It’s not for arrays. 1. https://developer.mozilla.org/en-US/docs/Web/JavaScript
by cristiantincu 13y ago
The `for … in` statement iterates over the enumerable properties of an object¹. It’s not for arrays.
1. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for...in https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...