fix(curriculum): Remove unnecessary comments (#41776)

* Remove unnecessary comments

* Remove last comment, change instruction wording
This commit is contained in:
Emer Conghaile
2021-04-08 12:46:39 -05:00
committed by GitHub
parent 591a534701
commit c4ba0c692f

View File

@ -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];
```