The lastIndex(...) function has only one variation, not counting syntax variations. It finds the index value of the last element of the Array. The data type of the result is the data type of the index. If the Array value is null the result is null.

Syntax:
lastIndex( array-value )
array-value.lastIndex()

Parameter Description
array-value

The array value who's last index is being found.