JavaScript String Methods: Example of the lastIndexOf Function