Skip to content

Commit bafcaaa

Browse files
authored
fix(curriculum): Typo in map test description (freeCodeCamp#48681)
fix - typo in test description
1 parent ab45386 commit bafcaaa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

curriculum/challenges/english/02-javascript-algorithms-and-data-structures/functional-programming/implement-map-on-a-prototype.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Write your own `Array.prototype.myMap()`, which should behave exactly like `Arra
2323
`[23, 65, 98, 5, 13].myMap(item => item * 2)` should equal `[46, 130, 196, 10, 26]`.
2424

2525
```js
26-
const _test_s = [46, 130, 196, 10, 13];
26+
const _test_s = [23, 65, 98, 5, 13];
2727
const _callback = item => item * 2;
2828
assert(JSON.stringify(_test_s.map(_callback)) === JSON.stringify(_test_s.myMap(_callback)));
2929
```

0 commit comments

Comments
 (0)