Move the comment on line 71 to its own line (#38036)

* Move the comment on line 71 to its own line

The comment "use function argument destructuring" was on the same line as some code, and when displayed as a challenge it returned to a new line and was not commented out.

* Update line 71 comment per @manish-giri suggestion

Move the comment "use function argument destructuring" to above the "change code below this line" comment for clarity. Based on conversation in this pull request https://github.com/freeCodeCamp/freeCodeCamp/pull/38036
pull/38073/head
ML 2020-01-14 20:47:34 -06:00 committed by Parth Parth
parent 27b4deae36
commit d824c77012
1 changed files with 2 additions and 1 deletions

View File

@ -67,8 +67,9 @@ const stats = {
average: 35.85
};
// use function argument destructuring
// change code below this line
const half = (stats) => (stats.max + stats.min) / 2.0; // use function argument destructuring
const half = (stats) => (stats.max + stats.min) / 2.0;
// change code above this line
console.log(stats); // should be object