Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The JS code is written in ES5 so this syntax is not available.


There are several other examples which show both ES6 and ES5 syntax, there is no reason the better ES6 syntax couldn't be shown here as well.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: