Рекурсивно сплющен
_.flattenDeep([1, [2, [3, [4]], 5]]);
Repulsive Raven
_.flattenDeep([1, [2, [3, [4]], 5]]);