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

Why is "identical" in green and "faster" in a slightly darker green? Is es6 a library or is it the browser's implementation of ES6?


ES6 is the native implementation in the browser or JS-engine you are using, indeed.

Green is probably chosen because the same performance is nice to have with this (subjectively) better syntax. The darker shade is probably chosen because more performance is nice, as it pushes you to the newer (subjectively better) syntax.




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

Search: