Use flat()
and turn it a single level array.
you shouldn’t change the input arrays if I remember correctly. your code does that instead
Use flat()
and turn it a single level array.
you shouldn’t change the input arrays if I remember correctly. your code does that instead