I would like to know how I can do to replace exactly every element of a string with another.
Use replace as is proper, but if I send a complete line of a certain character, only the first one replaces me.
example:
let e = "________1", y;
y = e.replace("_","0");
console.log(y);