1Flatten one leveleasy · 10 minFlatten a nested array and join the result with commas.Acceptance criteria1.#out should show 1,2,3,4.TaskHints 0/1Solution