array-insert-random
Inserts items randomly into an array.
Usage
const arrayInsertRandom =
arrayInsertRandom(array, items)
Parameters:
array
- An array to insert into.items
- An object, or an array of objects, to insert into random positions in the array.
License
MIT