I'm having small issues with what I'm trying to code. I need my program to change the letters in a word to certain other letters, so for example:
const p = 'Help';
console.log(p.replace('e', 'a'))
result: "Halp"
My problem with this, is that this code only allows me to change one of the letters and I would need much more than that, anyway to do a quick fix?