logoalt Hacker News

Dylan16807yesterday at 5:19 AM0 repliesview on HN

In the case of javascript, it's only allowed to do that when you can't detect it, situations where foo doesn't affect the output of bar. So as far as pitfalls are concerned it does one thing at a time. The rest is a hidden implementation detail of the optimizer.