Fixed: Misspell #1877

Issue #1877's description's hint mentioned the wrong variable.
This commit is contained in:
Matt Trifilo
2015-08-17 23:29:11 -05:00
parent 495aac8233
commit e06b348918

View File

@ -216,7 +216,7 @@
"In order to get the last letter of a string, you can subtract one from the string's length.",
"For example, if <code>var firstName = \"Charles\"</code>, you can get the value of the last letter of the string by using <code>firstName[firstName.length - 1]</code>.",
"Use <code>bracket notation</code> to find the last character in the <code>lastName</code> variable.",
"Try looking at the <code>lastLetterOfLastName</code> variable declaration if you get stuck."
"Try looking at the <code>lastLetterOfFirstName</code> variable declaration if you get stuck."
],
"tests": [
"assert(lastLetterOfLastName === \"e\", 'lastLetterOfLastName should be \"e\"');",