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

It looks like the kind of optimization that a compiler could do pretty trivially, and you shouldn't have to be concerned about as a human, as it makes the code less readable.

Then again, Javascript is a strange animal here as the code is provided to the execution environment as plaintext instead of bytecode/assembly. I guess a JS-to-JS compiler such as closure could handle it.



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

Search: