I really like Coffeescript, but one thing that drives me crazy lately is type issues with Numbers and Strings in if statements. Normally not a problem as Javascript doesn´t care when you use ==, but Coffeescript convertes all comparisons to ===. Is there a way to get sloppy old == comparisons back? I feed stupid but I haven´t found anything on it.
The reason for it is that I converted other peoples code using the brilliant http://js2coffee.org/ to make it easier to read, but then I enter typecasting problems as == comparisons are replaced by ===. Needless to say I´m to f***g lazy to refactor the whole code ;).
As asawyer said, this is by design. If you really think you need an
==comparison then you can put it in backticks: