In the variable secretCode,
you've got a top-secret code.
A secret word is hidden within the
secret code at various positions.
-
Use the length property to
find out how many characters
the secretCode has and store the result
in codeLength.
-
Discover the hidden secret word
by finding the characters at
the second, fifth, tenth, third-last,
and last positions.
-
Use the length property
to find the thirdLastCharacter
and lastCharacter.