3 ms·
I'm learning CoffeeScript right now, is what I write using it always valid JavaScript?
by plf 15y ago
I'm learning CoffeeScript right now, is what I write using it always valid JavaScript?
- ricardobeat 15y agoThe valid CoffeeScript you write is always valid JavaScript :)
- plf 15y agoCan there be invalid CoffeScript?
- ricardobeat 15y agoof course, why not? any syntax can be broken.
- plf 15y agoI 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.