diff --git a/challenges/02-javascript-algorithms-and-data-structures/functional-programming.json b/challenges/02-javascript-algorithms-and-data-structures/functional-programming.json index 951e047875..71c29e4b08 100644 --- a/challenges/02-javascript-algorithms-and-data-structures/functional-programming.json +++ b/challenges/02-javascript-algorithms-and-data-structures/functional-programming.json @@ -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 slice method.');",