News for hackers. Stuff that matters.
Re:One programmer broke the internet by deleting left-pad (2... by onion2k on Monday September 06, 2021 @04:53AM (#28431734)
It's much worse than that. String.prototype.padStart has been available in Node since 8.0, and browsers for a long time. It's not in IE but polyfills are common.

If your first thought is a library, whether you wrote it yourself or not, then you're doing JS badly.

Re:One programmer broke the internet by deleting left-pad (2... by Vinnl on Monday September 06, 2021 @05:14AM (#28431842)
To be fair, Node.js 8 was released in 2017; this happened in 2016.