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]
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]
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Satya KarkiPosted Oct 6, 2021, 7:18 AM
Sachin SinghPosted Oct 6, 2021, 8:09 AM
Anele NgqanduPosted Oct 6, 2021, 7:31 AM
Hi Satya
I get Uncaught SyntaxError: Unexpected token '[' there by line 7
Rijwan AnsariPosted Oct 6, 2021, 7:24 AM