Hacker News new | past | comments | ask | show | jobs | submit login

In my experience (and some benchmarking), there's no real difference in speed between using a Module-based factory method or using object prototypes. Modern JS engines optimize for both.



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

Search: