Skip to content

Instantly share code, notes, and snippets.

@harryadel
Created August 28, 2016 16:37
/*
My answer for exercise 'Flattening'
in Eloquent JavaScript Second Edition
Chapter 5 Higher-Order Functions
*/
console.log([].concat.apply([], arrays));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment