Repeat a function - Node.js Data Type

Node.js examples for Data Type:function

Description

Repeat a function

Demo Code


Function.prototype.repeat = function(interval){
  return setInterval(this, interval);
};

Related Tutorials