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.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Satya KarkiRank #78 · 24.6K reputationPosted Oct 6, 2021, 3:18 AM EDT
Sachin SinghRank #66 · 26.2K reputationPosted Oct 6, 2021, 4:09 AM EDT
Rijwan AnsariRank #82 · 24.2K reputationPosted Oct 6, 2021, 3:24 AM EDT
Anele NgqanduRank #3,763 · 393 reputationPosted Oct 6, 2021, 3:31 AM EDT
Hi Satya
I get Uncaught SyntaxError: Unexpected token '[' there by line 7