jashkenas/underscore — pull request #1818 by jawj (2014-09-01 17:00:30+00:00)
Title: Prevent _.random returning max + 1 in rare cases

I have a strong feeling that I encountered this edge case in real code when generating a LOT of random numbers a few years ago (although I have to admit I can't exactly remember the scenario now).

Anyway, how do people feel about fixing it?