Merge pull request #2423 from saadanerdetbare/saadanerdetbare-2387

Grammatical error: Change word third to second in 'Use Bracket Notation to Find the NthtoLast Character in a String'
This commit is contained in:
Anton Strömkvist
2015-09-08 01:01:07 +02:00

View File

@ -253,7 +253,7 @@
],
"tests": [
"assert(secondToLastLetterOfLastName === 'c', 'secondToLastLetterOfLastName should be \"c\".');",
"assert(editor.getValue().match(/\\.length/g).length === 2, 'You have to use .length to get the third last letter.');"
"assert(editor.getValue().match(/\\.length/g).length === 2, 'You have to use .length to get the second last letter.');"
],
"challengeSeed": [
"var firstName = \"Ada\";",