array pop method js code example
Example 1: javascript remove last element from array
var colors = ["red","blue","green"];
colors.pop();
Example 2: .pop js
let monTableau = ['un', 'deux','trois', 'quatre'] ;
monTableau.pop() ;
console.log(monTableau) ;