Merge pull request #13167 from Greenheart/fix/fp-array-slice-fatal-typo

fix(challenge): Fix fatal typo in "FP: use Array.slice()"
pull/13196/head
Eric Leung 2017-02-05 23:09:58 -08:00 committed by GitHub
commit 01e4f491b4
1 changed files with 1 additions and 1 deletions

View File

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