DEV Community

Discussion on: Merging Arrays in Javascript

Collapse
 
rattanakchea profile image
Rattanak Chea

This works and is quite easy to understand. I just want to add, i prefer a pure function where it does always return what's expected without modifying the inputs.