This code used for mixing array
This code used for mixing array.
Before mixing
After mixing
For example, we first define an array.
let array = [1,2,3,4,5,6]
Then we create a new class of mix and pass the array to it.
new Mix(array)
Mixed array is ready for use!
[6,3,5,1,4,2]
Copyright (c) 2018 Mohammad Mehdi