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

You could do that more or less in Javascript by creating and initializing different member variables in the constructor depending on a constructor argument but I would hate you for it.


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

Search: