Anele Ngqandu

Anele Ngqandu

  • 1.3k
  • 429
  • 28.1k

Combining 2 arrays in JavaScript or Lodash

Oct 6 2021 6:40 AM

Hi All

I have 2 arrays that I need to join them to make 1 array in this form below

array1=[1, 3, 4]

array2=[a, b, c]

NewArray=[a, 1], [b, 3],[c, 3]


Answers (4)