I just used Array.prototype.every() and Array.prototype.some() for the first time in production code... ever? I'm sure I could have used them earlier in my career but I always forget they exist. Anyway they are useful functions and I'm glad they're there
Conversation
Notices
-
Darius Kazemi (darius@friend.camp)'s status on Thursday, 22-Apr-2021 16:54:38 CEST Darius Kazemi
-
Darius Kazemi (darius@friend.camp)'s status on Thursday, 22-Apr-2021 16:56:19 CEST Darius Kazemi
@ekaitz_zarraga I thought so too but I just looked it up and it was specified as far back as ECMAScript 5.0 (Dec 2009)!
-
Darius Kazemi (darius@friend.camp)'s status on Thursday, 22-Apr-2021 17:00:53 CEST Darius Kazemi
@ekaitz_zarraga I just did a little more digging -- https://caniuse.com helpfully has a "date relative" view where you can see a timeline of browser adoption of features. It looks like 2011 was when IE finally adopted all the ECMA stuff that was typically reimplemented in lodash/underscore/etc. But of course what percentage of users were on IE9 at that point vs 8 etc...
-