var numbers = ["one", "two", "three"]; var lastnumber = numbers[numbers.length - 1]; console.log(lastnumber);