3 ms·
'is and isnt operator' that sounds nifty.
by cantbecool 12y ago
'is and isnt operator' that sounds nifty.
- tyleregeto 12y agoI was excited for that. I've worked in languages that had an `is` operator, and it can result in very readable code. Eg: if list is Array { } Much nicer than: if Array.isArray(list) { }
- cnp 12y agoTotally. That's one of my favorite things about CoffeeScript and I hope that eventually the keywords make it in to the final spec: if a isnt b or b is c then return e