From 87b0e5bb7a7265b60425b38560006540e5efbe46 Mon Sep 17 00:00:00 2001 From: Emer Conghaile Date: Thu, 8 Apr 2021 12:49:47 -0500 Subject: [PATCH] fix(curriculum): Remove unnecessary comments (#41781) * Remove unnecessary comments https://github.com/freeCodeCamp/freeCodeCamp/pull/41612 * Update the hints section --- .../add-new-properties-to-a-javascript-object.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/add-new-properties-to-a-javascript-object.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/add-new-properties-to-a-javascript-object.md index ea1975009c..b73a21ef9f 100644 --- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/add-new-properties-to-a-javascript-object.md +++ b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/add-new-properties-to-a-javascript-object.md @@ -50,7 +50,7 @@ You should add the property `bark` to `myDog`. assert(myDog.bark !== undefined); ``` -You should not add `bark` to the setup section. +You should not add `bark` to the initialization of `myDog`. ```js assert(!/bark[^\n]:/.test(code)); @@ -67,7 +67,6 @@ assert(!/bark[^\n]:/.test(code)); ## --seed-contents-- ```js -// Setup var myDog = { "name": "Happy Coder", "legs": 4, @@ -75,7 +74,7 @@ var myDog = { "friends": ["freeCodeCamp Campers"] }; -// Only change code below this line + ``` # --solutions--