Write a recursive function flattenRecursively that flattens a nested array. Your function should be able to handle varying levels of nesting.
By Ben Windler at Feb 07 2021