# Introduction In this challenge, we will tackle a real interview question commonly asked by big companies - flattening an array. The goal is to create a function named `myFlat` that takes an input array and a depth level, which flattens the multidimensional array into a lower-dimensional array. The default value for the depth level is 1. Your task is to implement the `myFlat` function as described in the challenge using the provided function template.
Click the virtual machine below to start practicing