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.