last index of array typescript code example
Example: typescript last index of array
var items: String[] = ["tom", "jeff", "sam"];
alert(items[items.length-1])
var items: String[] = ["tom", "jeff", "sam"];
alert(items[items.length-1])