string pop last char js

var str = "Hello";
var newString = str.substring(0, str.length - 1); //newString = Hell
Grepper