From 61c8eb15956607838972d2a41dc2d3c0769fad50 Mon Sep 17 00:00:00 2001 From: "Cristian V. Nica" Date: Wed, 5 Aug 2015 19:08:49 +0300 Subject: [PATCH] Trying to fix issue #1562 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]; --- seed/challenges/basic-javascript.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seed/challenges/basic-javascript.json b/seed/challenges/basic-javascript.json index 0325880343..f03ada50f4 100644 --- a/seed/challenges/basic-javascript.json +++ b/seed/challenges/basic-javascript.json @@ -259,7 +259,7 @@ "challengeSeed": [ "var firstName = \"Madeline\";", "", - "var thirdToLastLetterOfFirstName = firstName[firstName.length - 2];", + "var thirdToLastLetterOfFirstName = firstName[firstName.length - 3];", "", "var lastName = \"Chen\";", "",