From 49a13702ae50afe5fc65ec0499247c4b4c41513e Mon Sep 17 00:00:00 2001 From: Rajat Kanti Nandi Date: Fri, 25 May 2018 19:28:17 +0000 Subject: [PATCH] Updated basic-javascript.json file for challenge Manipulate arrays with shift; issue: #17235 --- .../basic-javascript.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/seed/challenges/02-javascript-algorithms-and-data-structures/basic-javascript.json b/seed/challenges/02-javascript-algorithms-and-data-structures/basic-javascript.json index 603582aafa9..edce769e227 100644 --- a/seed/challenges/02-javascript-algorithms-and-data-structures/basic-javascript.json +++ b/seed/challenges/02-javascript-algorithms-and-data-structures/basic-javascript.json @@ -2735,7 +2735,7 @@ "contents": [ "// Example", "var ourArray = [\"Stimpson\", \"J\", [\"cat\"]];", - "removedFromOurArray = ourArray.shift();", + "var removedFromOurArray = ourArray.shift();", "// removedFromOurArray now equals \"Stimpson\" and ourArray now equals [\"J\", [\"cat\"]].", "", "// Setup", @@ -7901,4 +7901,4 @@ } } ] -} \ No newline at end of file +}