Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
cristiantincu
on June 12, 2013
|
parent
|
context
|
favorite
| on:
Fun with JavaScript Arrays
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/Refe...
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
1. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...