Javascript String isdigit()

Description

Javascript String isdigit()

String.prototype.isdigit = function()
{
  return this.length && !(/\D/.test(this));
};



PreviousNext

Related