fix: remove pre-filled test case and comment (#48519)

pull/48522/head
Naomi Carrigan 2022-11-15 10:20:10 -08:00 committed by GitHub
parent aed40e1922
commit 1474aa588c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 8 deletions

View File

@ -46,10 +46,6 @@ Array.prototype.myMap = function(callback) {
// Only change code above this line
return newArray;
};
// Test case
const s = [23, 65, 98, 5];
const doubled_s = s.myMap(item => item * 2);
```
# --solutions--

View File

@ -42,10 +42,6 @@ Array.prototype.myFilter = function(callback) {
// Only change code above this line
return newArray;
};
// Test case
const s = [23, 65, 98, 5];
const odd_s = s.myFilter(item => item % 2 === 1);
```
# --solutions--