The function lastIndexOf() is used to ___________________

The function lastIndexOf() is used to ___________________ Correct Answer Get the index of last occurrence of specified character in argument

The function is used to get the last occurrence index of a character present in a string. The return type is char. Single character is returned. The function is used with a string object and the target character is passed as its argument.

Related Questions

Gain-of function, reporter-function and loss-of-function are the types of ___________________