-
Notifications
You must be signed in to change notification settings - Fork 5
Home
Subhajit Sahu edited this page Mar 21, 2020
·
6 revisions
Welcome to the extra-array wiki!
Generating a random array of some length, with a random seed. But what about accepting a random generator? And what about random strings? https://www.npmjs.com/package/unique-random-array
- random(n, r=Math.random())?
Merging 2 arrays could also be done with a test function/boolean array. (zip) http://graphics.stanford.edu/~seander/bithacks.html#MaskedMerge