File: comments.md

package info (click to toggle)
coffeescript 2.7.0-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 11,608 kB
  • sloc: javascript: 1,273; makefile: 19; xml: 9; sh: 6
file content (9 lines) | stat: -rw-r--r-- 399 bytes parent folder | download | duplicates (2)
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.