4 ms·
> String.prototype.padStart() / String.prototype.padEnd() Finally left-pad module's functionality will be integrated into core! Souns awesome. /s
by spdionis 10y ago
> String.prototype.padStart() / String.prototype.padEnd()
Finally left-pad module's functionality will be integrated into core! Souns awesome. /s
- deadowl 10y agoI would really like if Unicode properties were implemented. I'd also like to see a RegExp escape function. String padding sees common enough usage that it should be added.
- seniorsassycat 10y agothe whole reason left pad was such a big deal is because of padStart. People writing polyfil's to add padStart to String.prototype used left-pad.