From 16f84630abd745baa924a15395c2e4a1e3c9e46d Mon Sep 17 00:00:00 2001 From: Samuel Plumppu Date: Sun, 5 Feb 2017 21:15:12 +0100 Subject: [PATCH] fix(challenge): Fix fatal typo in "FP: use Array.slice()" * Fixes a typo that prevented the challenge from being completed at all. --- .../functional-programming.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seed/challenges/02-javascript-algorithms-and-data-structures/functional-programming.json b/seed/challenges/02-javascript-algorithms-and-data-structures/functional-programming.json index 31d13ebf906..f83a48715e8 100644 --- a/seed/challenges/02-javascript-algorithms-and-data-structures/functional-programming.json +++ b/seed/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.');",