function solution(my_string, letter) { // return [...my_string].filter((char) => char !== letter).join('') return my_string.replaceAll(letter, '') }
function solution(my_string, letter) { return my_string.replaceAll(letter, ''); }