| 1 2 3 4 5 6 7 8 9 10 11 12 13 | 1 1 1010 1 | define(['./random'], function (random) {
/**
* Returns random bit (0 or 1)
* @version 0.2.0 (2012/11/29)
*/
function randomBit() {
return random() > 0.5? 1 : 0;
}
return randomBit;
});
|