I mean:
I have two arrays, number and name
const number = ['91xxxx','1xxxx','92xxxx']
const name = ['Abhi','Arun','Aaron']
Here I want to order these two arrays in the following manner:
1st number in array that is number[0]
, its name must be name[0]
and number[1]
, for name[1]
, like that.
But That arrays are user preference, what I mean is users can add their on number and name there unlimitedly but i want to keep in the above manner, How should I do????