Open marks0351 opened 4 months ago
index.js
export function flatten(arr, depth = 1) { // write your logic here return arr.flat(depth) }
index.js