Only 83.7% users support replaceAll(). Weird bug, difficult to debug

  • 7
    somestring.replace(/\s/g, “”)

    Y’all just amateurs
  • 1
    Yeah it was adopted surprisingly late. Chrome didn't have it until v85. Firefox didn't have it until v77.

    And now the hold-up is not just good old IE11: with new shitty default browsers like Samsung Internet - some new phones might still not have it.
  • 0
    @jiraTicket Lack of dev tools on most Android browsers make it more difficult to debug
Add Comment