How do I comment in CoffeeScript? “/* this */” doesn't work

后端 未结 3 1620
广开言路
广开言路 2020-12-23 23:45

In what ways can you comment in CoffeeScript?

The documentation say you can use three hash symbols to start and close a comment block:

###
  Comments         


        
3条回答
  •  太阳男子
    2020-12-24 00:39

    Beware of ###! If you use ### to separate sections of code (as I do) it's awfully surprising when that code stops working as a result.

提交回复
热议问题