1var numbers = ["one", "two", "three"];
2var lastnumber = numbers[numbers.length - 1];
3console.log(lastnumber);
1var Cars = ["Volvo", "Mazda", "Lamborghini", "Maserati"];
2//We can get the total number of elements like this.
3var hmCars = Cars.pop();
4//hmCars is now Maserati
5console.log(hmCars)