Skip to content

Conversation

@Heemharr
Copy link

No description provided.

@robinpokorny
Copy link
Contributor

Hey, I guess the example is not up-to-date, notice NaN instead of 7:

- 2,4,4,4,7,8,4,5
+ [2, 4, 4, 4, NaN, 8, 4, 5]

Also, there is a build if function flat:

[ 2, 4, [4, 4], [7, 8], [4, 5] ].flat()
// -> [2, 4, 4, 4, 7, 8, 4, 5]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants