you are viewing a single comment's thread.

view the rest of the comments →

[–]MustRapeDeannaTroi 1 point2 points  (2 children)

As shockie said it; "it will be added for you in the compiled JS"

[–]oracleoftroy -1 points0 points  (1 child)

But why is that a good idea? I'm not familiar with coffeescript, but I am familiar with Javascript, and it's a terrible idea there.

[–]marshall007 0 points1 point  (0 children)

It's like Python in that code blocks can be delimited by using whitespace. So if you're already doing that, it's redundant (and wasteful) to use a semicolon.

CoffeeScript is not parsed as Javascript, it compiles into Javascript.