jashkenas/underscore — pull request #1931 by remko (2014-11-09 17:30:06+00:00)
Title: Support custom random number generator in random() and shuffle()

I added support for specifying a custom random generator function to random() and shuffle(). This is useful if you want to make functions that use these functions testable (by passing in a stable/predictable generator), if you want to have predictable results, ...