Quantcast
Channel: Active questions tagged javascript - Stack Overflow
Viewing all articles
Browse latest Browse all 138163

Merge two arrays based on order placement for the properties without name

$
0
0
  1. ["a", "b" ,"c"]

  2. ["1", "2", "3"]

Want to get: ["1", "a"], ["2": "b"], ["3": "c"]

I think its possible to do it using map, but example for it contains named properties


Viewing all articles
Browse latest Browse all 138163

Trending Articles