Javascript Array int()

Description

Javascript Array int()


Array.prototype.int = function (){
  return this.filter(function (x) { return typeof x == 'number' && x == ~~x });
}



PreviousNext

Related