Slurp - Operators CoffeeScript Part 3
Confused yet? It’s a lot of =s that’s to be sure. To maintain consistency with the conversational tone of CoffeeScript you can use English words in place of the standard operators. For instance that == can be written as is.
Taken from the CoffeeScript documentation
|true, yes, on||true|
|false, no, off||false|
|in||no JS equivalent|
The final goodie for today is the existential operator. It is represented using the ? symbol. It can be used to check to see if a value is null or undefined.
A more impressive use is in operator chaining
You can’t tell me that isn’t a far cleaner and easier to understand syntax.