4 ms·
It can and does. Coffeescript will never write: ["dog","cat"].forEach(function(animal){ console.log(animal) }); Which will run just fine on your development
by jcampbell1 14y ago
It can and does. Coffeescript will never write:
["dog","cat"].forEach(function(animal){ console.log(animal) });
Which will run just fine on your development browser, but will break for real customers.
FYI, I don't use coffeescript, but I am at least aware of some problems with Javascript.
- MatthewPhillips 14y agoCoffeeScript will write that if you tell it to: [1, 2].forEach (i) => alert i
- oinksoft 14y agoArray.prototype.forEach and friends are trivial to shim and shouldn't be broken for anybody.