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

an object literal would provide the same guarantee but without the overhead of function prototype methods, wonder if there's any other reason?


Maybe they're using functions so the values can have names? Perhaps easier to debug.




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

Search: