The If Works This dirt was a building before

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.


No Comments Yet


There are no comments yet. You could be the first!

Leave a Comment