jmealo / random-ua.js

Randomly generates User-Agent strings based on actual usage statistics from Wikipedia and StatOwl.com as of July 2012.
Other
35 stars 11 forks source link

last commit #2

Closed ajkain closed 10 years ago

ajkain commented 10 years ago

Hi, the code doesn't work after the last commit.

function rnd(a, b) { //calling rnd() with no arguments is identical to rnd(0, 100) a = a | 0; <<< PROBLEM (maybe "a = a || 0;") b = b | 100; <<< PROBLEM (maybe "b = b || 100;") ...

bye