Commits

urso  committed 973264f

some typos

  • Participants
  • Parent commits 4de2163

Comments (0)

Files changed (1)

 function Config(pass, invalid, maxShrink) {
     this.maxPass = pass;
     this.maxInvalid = invalid;
-    this.maxShrink = maxShrink || 3;
+    this.maxShrink = arguments.length < 3 ? 3 : maxShrink;
 }
 
 Config.prototype.needsWork = function (count) {
     var d = Distribution.uniform(arguments);
     return function(){
         return d.pick();
-    }
+    };
 }
 
 function randWhole(top) {
 };
 
 var arbFloatUnit = {
-    arb: randFloatUnit
+    arb: randFloatUnit,
     shrink: function(size, x) {
         var ret = [];
         if(x < 0) ret.push(-x);