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.
If your first thought is a library, whether you wrote it yourself or not, then you're doing JS badly.