I'm having a total of 5 arrays. Name of the array will be selected by the user, based on the users selection we need to perform actions.
var p1s1 = ['5', '1', '6'];
var p1s2 = ['2', '4', '7'];
var p1s3 = ['9', '5', '2'];
var p1s4 = ['2', '5', '8'];
var p1s5 = ['7', '4', '2'];
when user selects a dropdown it will have value p1s3. So i need to pick this particular array and perform operations over this. Could anyone please suggest in this regard.
Thanks