It's nearly 2015 and I still need to: Array.prototype.forEach.call(document.querySelectorAll(".foo"), doStuff); This is madness.
-
-
Replying to @tobie
@tobie Top ppl on it: https://esdiscuss.org/topic/why-not-nodelist-foreach#content-22 … https://esdiscuss.org/topic/why-does-legacy-content-break-when-making-array-likes-real-arrays#content-3 … https://esdiscuss.org/topic/array-prototype-contains#content-63 … Cc:@erikarvidsson@bz_moz for newer news.2 replies 0 retweets 4 likes -
Replying to @BrendanEich
@BrendanEich@tobie@ErikArvidsson@bz_moz or just use _.each(....)1 reply 0 retweets 0 likes -
Replying to @vivainio
@vivainio libs aren't a reasonable answer to everything.@BrendanEich@ErikArvidsson@bz_moz2 replies 0 retweets 0 likes -
Replying to @tobie
@tobie@vivainio@BrendanEich@bz_moz The solution seems to be the Elements collection: https://dom.spec.whatwg.org/#collections:-elements …2 replies 1 retweet 2 likes
@erikarvidsson we blocked for a while on subclassable array iirc @tobie @vivainio @brendaneich @bz_moz
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.