Every time I hear about tings like left-pad and is_even, I have to wonder... Are JS developers ok? There seem to be a lot of packages for extremely trivial things that nonetheless gets huge amounts of downloads
Also, I'd bet money that most people couldn't write most things bug free on the first try without looking stuff up unless it's trivial
If this was such a common use case that it warranted being in some sort of stdlib, then make a standard lib and make sure it can’t be deleted.
We’re stuck with it now. We should be engineering front end with the assumption that it will break or get compromised.