re: Merging Arrays in Javascript VIEW POST

FULL DISCUSSION
 

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.

code of conduct - report abuse