DEV Community

Discussion on: Deep merge Objects in Javascript with Mergerino

Collapse
 
lexlohr profile image
Alex Lohr

This use case is always a bit difficult when it comes to arrays: should they be extended or overwritten? Mergerino treats arrays as objects and therefore will overwrite values at their keys. This might not be what you expect, so be careful about your use case.

Collapse
 
artydev profile image
artydev

Thank you Alex