In Use Bracket Notation to Find the Nth to Last Character in a String:
There is a mistake in the code sample:
It should be: var thirdToLastLetterOfFirstName =
firstName[firstName.length - 3];
but is: var thirdToLastLetterOfFirstName = firstName[firstName.length -
2];