Home>lastIndexOf() JavaScript String Method>Edit It: Find the index of the last '7'Edit It: Find the index of the last '7'This code shows how to find the index of the last '7'.See it on StackBlitz