File: comments.md

package info (click to toggle)
coffeescript 2.7.0%2Bdfsg1-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 9,368 kB
  • sloc: makefile: 20; xml: 9; javascript: 5; sh: 1
file content (9 lines) | stat: -rw-r--r-- 399 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
## Comments

In CoffeeScript, comments are denoted by the `#` character to the end of a line, or from `###` to the next appearance of `###`. Comments are ignored by the compiler, though the compiler makes its best effort at reinserting your comments into the output JavaScript after compilation.

```
codeFor('comment')
```

Inline `###` comments make [type annotations](#type-annotations) possible.