Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
tyleregeto
on May 1, 2014
|
parent
|
context
|
favorite
| on:
ECMAScript 6 support in Mozilla
I 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) { }
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: