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

Since ES5, you can't use `with` in strict mode.

Well, you shouldn't use it anyways since it's confusing/ambiguous and it's also terrible for performance.



I wanted to make a point about all the confusing new features of ES6 that are just there to save a few key strokes, and will haunt you forever.




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

Search: