最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

javascript - Multiple assignment of variables in coffee - Stack Overflow

matteradmin1PV0评论

Can I assign multiple variables in coffee like in python:

a, b, c = 'this', 'is', 'variables'

print c >>>variables

Can I assign multiple variables in coffee like in python:

a, b, c = 'this', 'is', 'variables'

print c >>>variables

Share Improve this question asked Mar 27, 2014 at 15:33 khexkhex 2,8287 gold badges35 silver badges57 bronze badges 1
  • 1 There is always the coffee script website which allows you to try simple snippets. For you case: goo.gl/pRqaWS – TheHippo Commented Mar 27, 2014 at 15:42
Add a ment  | 

1 Answer 1

Reset to default 15

Try with [a, b, c] = ['this', 'is', 'variables'].

Post a comment

comment list (0)

  1. No comments so far