Javascript Array under(x)

Description

Javascript Array under(x)

Array.prototype.under = function(x){
  return this.int().filter(function (y) { return y < x });
}

Javascript Array under(x)

Array.prototype.under = function(x) {
  return this.isInt().filter(function(n) { return  n < x });
}



PreviousNext

Related