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

Good point. I shouldn't have tossed that off of the top of my head, particularly since I'm not a JavaScript programmer. But the principle is right, you just need a different starting key than "_" to avoid conflict. Something like, "dict_" should work. And hide the details behind accessors. So if that breaks in a future version of JavaScript, it is easy to change it again.


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

Search: