Splice Last Element do Array JavaScript
array.splice(-1,1)
Innocent Iguana
array.splice(-1,1)
var array = [10,11,12,13,14,15,16,17];
array.splice(-1,1);
console.log(array);