Replace 'em All With ES2021
The newly introduced String.prototype.replaceAll() method removes the need for using a regex to replace multiple occurrences of a substring in a given string
If you have ever worked with strings in JavaScript, you know what a pain it is to replace a...
pratik.hashnode.dev4 min read
Favourite Jome
Software Engineer @bug0
Real nice update. Thanks for sharing