mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 17:41:41 +00:00
Make the CoffeeScript introduction a little more informative
This commit is contained in:
parent
a70f8469c4
commit
f05246ce39
@ -12,9 +12,10 @@ As one of the successors to JavaScript, CoffeeScript tries its best to output re
|
|||||||
See also [the CoffeeScript website](http://coffeescript.org/), which has a complete tutorial on CoffeeScript.
|
See also [the CoffeeScript website](http://coffeescript.org/), which has a complete tutorial on CoffeeScript.
|
||||||
|
|
||||||
```coffeescript
|
```coffeescript
|
||||||
# CoffeeScript is a hipster language.
|
# CoffeeScript is a language which compiles to JavaScript.
|
||||||
# It goes with the trends of many modern languages.
|
# It attempts to try and make JavaScript more in line with the trends of many
|
||||||
# So comments are like Ruby and Python, they use number symbols.
|
# modern languages.
|
||||||
|
# Comments are similar to Ruby and Python, using the hash symbol `#`
|
||||||
|
|
||||||
###
|
###
|
||||||
Block comments are like these, and they translate directly to '/ *'s and '* /'s
|
Block comments are like these, and they translate directly to '/ *'s and '* /'s
|
||||||
|
Loading…
Reference in New Issue
Block a user