> ''.replaceAll(/a/, '')
Uncaught TypeError: String.prototype.replaceAll called with a non-global RegExp argument
at String.replaceAll (<anonymous>)
this looks like something that a linter should be able to detect easily, the fix being to add the g flag
this looks like something that a linter should be able to detect easily, the fix being to add the
gflag