Javascript String pop()
pop()
String.prototype.pop = function(){ return this.slice(0, this.length - 1); };