JavaScript Coding Exercises Put your learning to the test with these challenges. Task Specs Write a function that flattens a deeply nested array of integers.