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
commit
01e4f491b4
|
@ -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.');",
|
||||
|
|
Loading…
Reference in New Issue