fix(challenge): Fix fatal typo in "FP: use Array.slice()"

* Fixes a typo that prevented the challenge from being completed at all.
This commit is contained in:
Samuel Plumppu
2017-02-05 21:15:12 +01:00
parent fe95cf5581
commit c7dfdbe10b

View File

@ -745,7 +745,7 @@
" // Add your code above this line", " // Add your code above this line",
"}", "}",
"var inputAnim = [\"Cat\", \"Dog\", \"Tiger\", \"Zebra\", \"Ant\"];", "var inputAnim = [\"Cat\", \"Dog\", \"Tiger\", \"Zebra\", \"Ant\"];",
"sliceArray(tempArray, 1, 3);" "sliceArray(inputAnim, 1, 3);"
], ],
"tests": [ "tests": [
"assert(code.match(/\\.slice/g), 'message: Your code should use the <code>slice</code> method.');", "assert(code.match(/\\.slice/g), 'message: Your code should use the <code>slice</code> method.');",