jashkenas--coffeescript/documentation/coffee/parallel_assignment.coffee

4 lines
75 B
CoffeeScript
Raw Normal View History

2010-07-29 04:51:35 +00:00
theBait = 1000
theSwitch = 0
2010-01-12 03:55:01 +00:00
2010-07-29 04:51:35 +00:00
[theBait, theSwitch] = [theSwitch, theBait]