this.array.pop() javascript code example
Example 1: js array pop
var array = ['A', 'B', 'C'];
// removes and returns last element
lastElement = array.pop();
Example 2: .pop js
let monTableau = ['un', 'deux','trois', 'quatre'] ;
monTableau.pop() ;
console.log(monTableau) ;