Implement flattenDeep(arr)
Write flattenDeep(arr) that flattens an array regardless of how deeply nested it is, unlike Array.prototype.flat, there's no depth argument; it goes all the way.
flattenDeep([1, [2, [3, [4, [5]]]]]); // [1, 2, 3, 4, 5]