Javascript String Replace Gotchas
To replace a character from a string with another in JavaScript, the goto method is replace but there is a small gotcha that can lead to subtle bugs that at first can be confusing.
Typical usage of string replace for example to remove all spaces:
let...
lkioi.hashnode.dev2 min read