About Javascript, which method removes the last element in a array? colours.push() colours.pop() colours.shift() colours.unshift() code example
Example: javascript pop
var cars = ['mazda', 'honda', 'tesla'];
var telsa=cars.pop(); //cars is now just mazda,honda