make a random permutation of a array given, like lizia.
$ npm install lizia-random-permutation
const permutate = require('lizia-random-permutation')
permutate([1,2,3,4,5]) // [3,2,1,5,4] random permuted
The param is the array to be random permuted, the optional params is number of permutation to be done if is not given is taken from [30, 50] interval. The array is passed by reference.