fix(curriculum): Remove unnecessary comments (#41781)
* Remove unnecessary comments https://github.com/freeCodeCamp/freeCodeCamp/pull/41612 * Update the hints section
This commit is contained in:
@ -50,7 +50,7 @@ You should add the property `bark` to `myDog`.
|
|||||||
assert(myDog.bark !== undefined);
|
assert(myDog.bark !== undefined);
|
||||||
```
|
```
|
||||||
|
|
||||||
You should not add `bark` to the setup section.
|
You should not add `bark` to the initialization of `myDog`.
|
||||||
|
|
||||||
```js
|
```js
|
||||||
assert(!/bark[^\n]:/.test(code));
|
assert(!/bark[^\n]:/.test(code));
|
||||||
@ -67,7 +67,6 @@ assert(!/bark[^\n]:/.test(code));
|
|||||||
## --seed-contents--
|
## --seed-contents--
|
||||||
|
|
||||||
```js
|
```js
|
||||||
// Setup
|
|
||||||
var myDog = {
|
var myDog = {
|
||||||
"name": "Happy Coder",
|
"name": "Happy Coder",
|
||||||
"legs": 4,
|
"legs": 4,
|
||||||
@ -75,7 +74,7 @@ var myDog = {
|
|||||||
"friends": ["freeCodeCamp Campers"]
|
"friends": ["freeCodeCamp Campers"]
|
||||||
};
|
};
|
||||||
|
|
||||||
// Only change code below this line
|
|
||||||
```
|
```
|
||||||
|
|
||||||
# --solutions--
|
# --solutions--
|
||||||
|
Reference in New Issue
Block a user