A new day - a new task.

ikon(38)
Published in
#js
Words
30
Reading
1 min
Listen
Play
10y

Write flatten function, which turns multidimensional array of integers into a flat array. In the screenshot example of the use and quite unusual embodiment.

Share your answers in the comments 

A new day - a new task. | Ecency