Retired

Deep Flatten Array (retired)

Description:

Create a function that flattens an array of arrays.

  deepFlat([1, [2,3], [4, [5, 6]], 7]) // should return [1,2,3,4,5,6,7]

The input array could be nested to an arbitrary depth.

Fundamentals
Arrays
Data Types

More By Author:

Check out these other kata created by milyord

Stats:

CreatedNov 12, 2019
Warriors Trained7
Total Skips0
Total Code Submissions6
Total Times Completed6
JavaScript Completions6
Total Stars0
% of votes with a positive feedback rating0% of 4
Total "Very Satisfied" Votes0
Total "Somewhat Satisfied" Votes0
Total "Not Satisfied" Votes4
Total Rank Assessments5
Average Assessed Rank
7 kyu
Highest Assessed Rank
7 kyu
Lowest Assessed Rank
8 kyu
Ad
Contributors
  • milyord Avatar
Ad