Y
Hacker News
new
|
ask
|
show
|
jobs
by
shados
3510 days ago
Well, actually I just typed [] in my browser's console, expanded it, then expanded the prototype and found a method called "forEach" which sounded like what I wanted. Fiddled with it a bit until it worked.
Clean room usage~