get the position of the last item in an array code example
Example 1: javascript get last element in array
//im here because the ad
Example 2: javascript get last element of array
var name = ["jon","tem","kevin", "ramos"];
var lastNameInArray = name[name.length - 1];// >> ramos