Javascript Array isInt()

Description

Javascript Array isInt()



Array.prototype.isInt = function() {
  return this.filter(function(n) { return (typeof(n)==='number') && (n% 1 === 0) });
}



PreviousNext

Related