From c4ba0c692fb3a3825d56bee7724f7bb3eb03ad7a Mon Sep 17 00:00:00 2001 From: Emer Conghaile Date: Thu, 8 Apr 2021 12:46:39 -0500 Subject: [PATCH] fix(curriculum): Remove unnecessary comments (#41776) * Remove unnecessary comments * Remove last comment, change instruction wording --- .../basic-javascript/accessing-nested-arrays.md | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/accessing-nested-arrays.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/accessing-nested-arrays.md index 247c0f2eab..3d16e1f9f4 100644 --- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/accessing-nested-arrays.md +++ b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/accessing-nested-arrays.md @@ -40,7 +40,7 @@ ourPets[1].names[0]; # --instructions-- -Retrieve the second tree from the variable `myPlants` using object dot and array bracket notation. +Using dot and bracket notation, set the variable `secondTree` to the second item in the `trees` list from the `myPlants` object. # --hints-- @@ -72,7 +72,6 @@ assert(/=\s*myPlants\[1\].list\[1\]/.test(code)); ## --seed-contents-- ```js -// Setup var myPlants = [ { type: "flowers", @@ -92,9 +91,7 @@ var myPlants = [ } ]; -// Only change code below this line - -var secondTree = ""; // Change this line +var secondTree = ""; ``` # --solutions-- @@ -119,7 +116,5 @@ var myPlants = [ } ]; -// Only change code below this line - var secondTree = myPlants[1].list[1]; ```