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

What part of JavaScript language should you not use?

The only one that comes to mind is is `with`, which is officially discouraged in the spec.

I suppose the other one is type coercion. (Like [] + [] stuff. That's no end of "ha ha JS weird.")



with, == (except certain idiomatic uses), __prototype__, eval, etc.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

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

Search: