Let's just say I have an array with n number of index:
0:{prop1: 'abc', prop2: ['1', '2', '3'],
1:{prop1: 'xyz', prop2: ['8', '6']
Now, what I am trying to make is a combination like this:
(1,8)
(1,6)
(2,8)
(2,6)
(3.8)
(3,6)
I have tried multiple methods couldn't achieve this combination