Is there something you don’t understand about the solution?
Without the spread operator, flattenedArray just gets an array pushed onto it, not individual values.
1 Like
Is there something you don’t understand about the solution?
Without the spread operator, flattenedArray just gets an array pushed onto it, not individual values.