value of the last index of a string javascript code example Example: lastindexof js string.lastIndexOf("subString")