JS: Savvy looping on a Number


/ Published in: JavaScript
Save to your folder(s)

The Number objects value determines how often the supplied function is repeated.
Inspired by ROR & Python.
"Pollutes" Number's prototype.

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.