4
Answers

Combining 2 arrays in JavaScript or Lodash

Anele Ngqandu

Anele Ngqandu

3y
730
1

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)