New things in ECMAScript 2021: String.prototype.replaceAll()
This is going to be a pretty quick post (mainly because I am on vacation, next week). I was skimming through what is new in ECMAScript 2021 and spotted replaceAll(). It is already supported in everything except for Internet Explorer. Let’s take a look at a quick example. See the Pen String.prototype.replaceAll() Example by Joe …
Continue reading "New things in ECMAScript 2021: String.prototype.replaceAll()"