I am new to JavaScript.
I have the following 1-d arrays:
m=[1,2,3,4]
n=[5,6,7,8]
I want to convert the following in JavaScript:
x=[[1,5], [2,6], [3,7], [4,8]]
How can I do this?
Thanks for your help in advance.
I am new to java-script