Let's say we have an array like this:
const a = [1,2,3,4,5,6,7]
And we want to randomly distribute the elements of another array in the above array:
const b = ['a', 'b', 'c', 'd', 'e']
So that for instance we have the result like this:
[1, 'a', 'b', 2, 3, 4, 'c', 5, 6 'd', 'e', 7, 8]
Note that the order of both arrays remain intact but the second array distributed randomly inside the first array.