javascript string pop

let newStr =  str.slice(0, str.length - 1));
Stormy Sloth