3 ms·
> this is extremely noticeable if you drop into a debugger Is the debugger part of the language specification? No. When I say 'can you observe the difference
by chrisseaton 6y ago
> this is extremely noticeable if you drop into a debugger
Is the debugger part of the language specification? No.
When I say 'can you observe the difference as a programmer' you can mentally expand that to 'can you observe the difference as a programmer who is working off a copy of the language specification'. Otherwise someone armed with a debugger can look at the machine code and then we might as well say all implementation decisions are observable by the user, and then I think we're being a bit silly.
> you won't be able to access the first variable
I'm not familiar with this part of JavaScript off the top of my head sorry - do you mean using a debugger again here?
- masklinn 6y ago> Is the debugger part of the language specification? No. Neither is "the stack trace".
- chrisseaton 6y agoYou're mistaken - in many language it is. (I've worked professionally with multiple language specifications and implementing them.)
- deleted 6y ago[deleted]