| Number.prototype.times = function( | func | ) |
|
Executes the supplied function parseInt(this) times.
Parameters
| func | a function to execute. This function will be called with the current 0-based index |
Example
(5).times(function(i){
$res.print(i + "<br>")
});