Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
mayhemducks
7 months ago
|
parent
|
context
|
favorite
| on:
We all dodged a bullet
`Object.getPrototypeOf(obj)[Symbol.iterator] !== undefined`
There I fixed it. Now I don't even need the package array-ish!
junon
7 months ago
[–]
`Symbol` wasn't supported when I wrote `is-arrayish`. Neither were spreads. It was meant to be used with DOM lists or the magical `arguments` variable.
Consider applying for YC's Summer 2026 batch! Applications are open till May 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
There I fixed it. Now I don't even need the package array-ish!