Use the indexOf() method to find
the index of the first occurrence of
the following words in the string
stored in wiseWords.
-
Find live starting from the
5th position and store the result in indexOfLive.
-
Find were starting from the
20th position and store the result in indexOfWere.
-
Find forever starting from the
40th position and store the result in indexOfForever.