Which built-in method removes the last element from an array and returns that elemen code example
Example: javascript array pop
let animals = ["dog","cat","tiger"];
animals.pop(); // ["dog","cat"]
animals.push("elephant"); // ["dog","cat","elephant"]