Skip to content
This repository was archived by the owner on Sep 25, 2019. It is now read-only.

Commit c7dfdbe

Browse files
committed
fix(challenge): Fix fatal typo in "FP: use Array.slice()"
* Fixes a typo that prevented the challenge from being completed at all.
1 parent fe95cf5 commit c7dfdbe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

challenges/02-javascript-algorithms-and-data-structures/functional-programming.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -745,7 +745,7 @@
745745
" // Add your code above this line",
746746
"}",
747747
"var inputAnim = [\"Cat\", \"Dog\", \"Tiger\", \"Zebra\", \"Ant\"];",
748-
"sliceArray(tempArray, 1, 3);"
748+
"sliceArray(inputAnim, 1, 3);"
749749
],
750750
"tests": [
751751
"assert(code.match(/\\.slice/g), 'message: Your code should use the <code>slice</code> method.');",

0 commit comments

Comments
 (0)