From caa8fb89917656c9b97d2dd874a19d275b0fef55 Mon Sep 17 00:00:00 2001 From: Victorino Machava Date: Sun, 15 Nov 2015 22:55:17 +0200 Subject: [PATCH] Update basic-bonfires.json Changes the current MDNlink to my suggested link on the issue https://github.com/FreeCodeCamp/FreeCodeCamp/issues/4459. This PR closes https://github.com/FreeCodeCamp/FreeCodeCamp/issues/4459. PS: I checked to make sure my suggested link is in the module bonfireMDNlinks. --- seed/challenges/basic-bonfires.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seed/challenges/basic-bonfires.json b/seed/challenges/basic-bonfires.json index 97f2577a34..f89ebdc4e8 100644 --- a/seed/challenges/basic-bonfires.json +++ b/seed/challenges/basic-bonfires.json @@ -547,7 +547,7 @@ "assert(mutation([\"hello\", \"neo\"]) === false, 'message: mutation([\"hello\", \"neo\"]) should return false.');" ], "MDNlinks": [ - "Array.indexOf()" + "String.indexOf()" ], "solutions": [ "function mutation(arr) {\n var hash = Object.create(null);\n arr[0].toLowerCase().split('').forEach(function(c) {\n hash[c] = true;\n });\n return !arr[1].toLowerCase().split('').filter(function(c) {\n return !hash[c];\n }).length;\n}\n\nmutation(['hello', 'hey']);\n"