5 ms·
Really? Are you sure? If CoffeeScript isn't fully compatible with JS then what is it? I mean at some point it has to go through a JS interpreter to run.
by sghiassy 9y ago
Really? Are you sure? If CoffeeScript isn't fully compatible with JS then what is it? I mean at some point it has to go through a JS interpreter to run.
- carc1n0gen 9y agoI created a coffee file called list.coffee with: var list = [1, 2, 3, 4, 5]; When I run `coffee list.coffee` I get: /home/****/Code/coffee/thing.coffee:1:1: error: reserved word 'var' var list = [1, 2, 3, 4, 5]; ^^^ The coffeescript interpreter is standalone and does not turn it in to JS.