





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
### Keybase proof | |
I hereby claim: | |
* I am brunorafael8 on github. | |
* I am brunorafael8 (https://keybase.io/brunorafael8) on keybase. | |
* I have a public key ASBpcgYxP_-nhZAFT9o4GUF171vly2ERTlYTZ0JRytOu3Qo | |
To claim this, I am signing this object: |
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
/** | |
* Returns a nested array into a flatten single level array | |
* @param {Array} input a multiple level array | |
* @return {Array} an one level array of all the elements inside | |
*/ | |
const result = []; | |
const flatten = array => { | |
for (var i = 0; i < array.length; i++) { |