Javascript Number ago()

Description

Javascript Number ago()

Number.prototype.ago = function() {
  var d = new Date();
  return (d.getTime() - this); //1000.0;
};



PreviousNext

Related