DEV Community

Discussion on: 10 Awesome JavaScript String Tips You Might Not Know About

Collapse
 
fullstackcodr profile image
fullstackcodr • Edited

I like this post although a struggle I had recently was that padStart and padEnd are not supported on IE.

I tried to find polyfill but there is not an official one so I ended up in a custom solution.

Collapse
 
kais_blog profile image
Kai • Edited

Thanks! Yeah, those quirks with different browsers... MDN references this polyfill for String#padStart and String#padEnd: github.com/behnammodi/polyfill/blo...

Collapse
 
beytek profile image
Karim Sabbagh

Back when IE mattered