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

Well the classes are converted into functions and it adds members to the prototypes, right? Or is that ES5 only?


What you mean is indeed ES5 only. ES6 has classes so it doesn't need to convert anything.


Oh. Cool. I didn't know that.




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

Search: