From 78826ea90deecc55827d25208557c6f805844d81 Mon Sep 17 00:00:00 2001 From: Vishwas Navada K Date: Sun, 26 May 2019 06:19:57 +0530 Subject: [PATCH] Fix the function call flattenArray->steamrollArray (#36128) Replace the function call in the Intermediate Code Solution from flattenArray to steamrollArray which is the actual function name. --- .../intermediate-algorithm-scripting/steamroller/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guide/english/certifications/javascript-algorithms-and-data-structures/intermediate-algorithm-scripting/steamroller/index.md b/guide/english/certifications/javascript-algorithms-and-data-structures/intermediate-algorithm-scripting/steamroller/index.md index ba163bee66..ce660e0aae 100644 --- a/guide/english/certifications/javascript-algorithms-and-data-structures/intermediate-algorithm-scripting/steamroller/index.md +++ b/guide/english/certifications/javascript-algorithms-and-data-structures/intermediate-algorithm-scripting/steamroller/index.md @@ -82,7 +82,7 @@ You will definitely need recursion or another way to go beyond two level arrays return flat.some(Array.isArray) ? steamrollArray(flat) : flat; } - flattenArray([1, [2], [3, [[4]]]]); + steamrollArray([1, [2], [3, [[4]]]]); ![:rocket:](https://forum.freecodecamp.com/images/emoji/emoji_one/rocket.png?v=3 ":rocket:") Run Code