- Posted by liammclennan on June 8, 2011
Some time ago I wrote a simple JavaScript function (_properties) to report the non-function properties of a JavaScript object.
the same function, rewritten in CoffeeScript, is:
It is shorter (down from 9 lines to 2) and easier to read.