To reproduce launch the attached reduction, stop at the breakpoint and type 'foo' in the console. That will return the div dom element. (I don't like that behaviour, but well) Now step over the assignment and output 'foo' again. Instead of the local variable, the dom node is output again which is definitely a bug as the local variable should have precedence in the debugger js shell.
There is no attachment in this bug. Also, is this a duplicate if bug 32442?
Created attachment 44900 [details] reduction reduction
*** This bug has been marked as a duplicate of bug 32442 ***