by jasonjmcghee · 3y ago · 0 comments
It's nice to see aimless.js support it.
Crazy to me that `Math.random` doesn't accept a seed as an optional param.
Another case are unit tests with random-generated cases. At a minimum you want to know the seed of the last run and have that reported. On CI system you would want it to be deterministic.
Where you want there not to be a seed is in crypto, or possibly a game like poker or even tetris.
I had to make one myself and I never thought it'd be something I'd ever need to do