synchronized-array-shuffle
Shuffle multiple arrays randomly and keep them synchnorized.
Install & Usage
On the command line:
npm install synchronized-array-shuffle
In your file:
; const A = 'a' 'b' 'c';const B = '1' '2' '3'; const A_shuffled B_shuffled = ; // possible outputconsole;// ['c', 'a', 'b']console;// ['3', '1', '2']