Posts by RamonCP • 33 points
1 post
-
2
votes2
answers72
viewsQ: Merge two arrays with whitespace
I have two arrays: const array1 = ['lorem','ipsum','teste','','hello','','vol'] const array2 = ['lorem','ipsum','teste','array2Tes','','world','vol'] How do I merge the empty parts of the first…