Hacker News new | ask | show | jobs
by plf 5260 days ago
Can there be invalid CoffeScript?
1 comments

of course, why not? any syntax can be broken.
I meant something that would not be detected when compiling to JavaScript from CoffeeScript. Maybe I got it all wrong and CoffeeScript just translates without performing any checks. Also I thought maybe the subset of code you can write with CoffeeScript can't be invalid, if it were wrong it just wouldn't work.