When called without an argument, `flat()` defaults to a depth of 1, flattening only the first level of nested arrays.
You can pass a number as an argument to `flat()` to specify the desired depth of flattening.
To flatten an array to any depth (i.e., remove all levels of nesting), you can pass `Infinity` as the argument to `flat()`.