Created
December 22, 2016 09:41
-
-
Save pinuke/88b926dc663c9b57df362470dce8f9c0 to your computer and use it in GitHub Desktop.
An array flattener in JavaScript
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var debug={ | |
"input":[[1,2,[3]],4], | |
"array_depth":0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment