标签: javascript python coffeescript
我可以在coffee中分配多个变量,例如python:
coffee
python
a, b, c = 'this', 'is', 'variables'
print c>>>变量
print c
答案 0 :(得分:15)
尝试使用[a, b, c] = ['this', 'is', 'variables']。
[a, b, c] = ['this', 'is', 'variables']