What does [1, [2, [3]]].flat() return with the default depth?
Explanation
The default flat depth removes one nesting level, so 2 joins the outer array while the array containing 3 remains nested. Producing a completely flat result would require flattening more deeply than the default.