I guess it is true in this particular example, since 0 is a primitive and assigned by value. But what if you got it from an outside function, such as init(), and it was an object instead? Then you would have to guarantee that the return value of init() would not change between statements.
In the end this shows that JS is unequipped to handle such behavior without significant changes to the core language.