fix(curriculum): Consolidated comments for JavaScript Algorithms and Data Structures challenges - part 2 of 4 (#38259)
This commit is contained in:
@ -44,12 +44,11 @@ tests:
|
||||
|
||||
```js
|
||||
const squareList = (arr) => {
|
||||
// only change code below this line
|
||||
// Only change code below this line
|
||||
return arr;
|
||||
// only change code above this line
|
||||
// Only change code above this line
|
||||
};
|
||||
|
||||
// test your code
|
||||
const squaredIntegers = squareList([-3, 4.8, 5, 3, -3.2]);
|
||||
console.log(squaredIntegers);
|
||||
```
|
||||
|
Reference in New Issue
Block a user