Skip to content

Instantly share code, notes, and snippets.

Jerónimo Carrizo Jero786

View GitHub Profile
View gist:8189f6f28f99a209c14d73760bc19495
/**
* Given a array of array values, will return a new instance with a flatten array.
*
* @param {Array} The array which will be flatten
* @param {Array} The new flatten array (private)
* @param {number} A position index that use to traverse given array. (private)
* @return {Array} The new array flatten
* @public
*/
function flatten(numbers, result, index) {
You can’t perform that action at this time.