Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Right. For the purposes of standard library functions that operate on array-like objects,

  { length: 1, 0: "item" }
is an array.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: