1 line of code: How to merge two Arrays and preserve all entries
const mergeArray = (a, b) =&gt; [...a, ...b];        Enter fullscreen mode            Exit...
Tags: javascript, webdev, productivity, codequality