What does lastIndexOf do in JavaScript code example Example: lastindexof js string.lastIndexOf("subString")