Lodash.js – flatten() function with the deep parameter set to true

Lodash.js – flatten() function with the deep parameter set to true

BY 21 Nov 2015 Web Code Snippet
A simple Lodash.js example of the flatten() function, which flattens nested arrays into one array, using the deep flag set to true.
Written by