@lrvick@mastodon.social foreach sounds like a package that you shouldnt need with Array.prototype.forEach
@Johann150 yes, that's true. It made it into ECMAScript 5.1
Now if you've for _some_ weird reason a system that requries some _older_ build target you get a polyfill.
That was provided by packages like this and should be helluvEOL nowadays. There are better suited and highly automated polyfills.
Anyway, the issue is very real. This happened before and will happen again.
It's also the very same for most language depending package managers out there and this is why version pinning is a thing.
@bekopharm
So it could happen to PyPI (Python), RubyGems (Ruby), Crates (Rust), … too :-(
@Johann150
@bekopharm
Exactly.
(Google, boo! 😈)
@bekopharm
Pah!
Why would I want to write for Chrome?
That doesn't help Firefox at all.
@RyunoKi Google boo whatever. Try releasing a Chrome extension without :P
(Or an Android app).