From bafcaaa17d199cf3209400e8fead9aa9cbbcc9d3 Mon Sep 17 00:00:00 2001 From: Jeremy L Thompson Date: Tue, 6 Dec 2022 12:28:06 -0700 Subject: [PATCH] fix(curriculum): Typo in map test description (#48681) fix - typo in test description --- .../functional-programming/implement-map-on-a-prototype.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/functional-programming/implement-map-on-a-prototype.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/functional-programming/implement-map-on-a-prototype.md index 9c3126518c4..5d639253214 100644 --- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/functional-programming/implement-map-on-a-prototype.md +++ b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/functional-programming/implement-map-on-a-prototype.md @@ -23,7 +23,7 @@ Write your own `Array.prototype.myMap()`, which should behave exactly like `Arra `[23, 65, 98, 5, 13].myMap(item => item * 2)` should equal `[46, 130, 196, 10, 26]`. ```js -const _test_s = [46, 130, 196, 10, 13]; +const _test_s = [23, 65, 98, 5, 13]; const _callback = item => item * 2; assert(JSON.stringify(_test_s.map(_callback)) === JSON.stringify(_test_s.myMap(_callback))); ```