Re:Making Macros in CoffeeScript
by rimantas on Sunday June 26, 2011 @01:02PM
(#2698414)
Swap was not the best choice to be used as example, imho.
CoffeScript has deconstructing assignments so to swap two variables you just do [x, y] = [y, x].
[ Parent
| on HN ]
There are no comments on this comment yet.