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

4 lines
70 B
CoffeeScript

theBait: 1000
theSwitch: 0
[theBait, theSwitch]: [theSwitch, theBait]