Announcing Reiterate
Following on from yesterday’s post, I went a little crazy and expanded the idea of #toFunction to Array and Hash. The end result is Reiterate, which gives you a stack of neat ways to make your JavaScript code more concise and expressive. For example:
var strings = array.map('toLowerCase.toArray');
var divs = someDivs.findAll({hasClassName: 'myClass', visible: true});
More information on the project download page.
About this entry
You’re currently reading “Announcing Reiterate,” an entry on The If Works
- Published:
- 9.21.07 / 2pm
- Category:
- JavaScript, Prototype, Reiterate
- Tags:
No comments
Jump to comment form | comments rss [?] | trackback uri [?]