Jakob, I can see why that is the case for lexical scoped variables. Can you
point me to more docs (LOL) or examples of how to traverse these Context
objects? I will also check Zac's suggestion of looking at the debugging
interface.
Cheers!
On Thursday, June 21, 2018 at 11:31:24 PM UTC+2, Jakob
Variable allocation is complicated. In short, Function-local variables are
allocated on the stack. When nested closures refer to them, they get
allocated in a Context object.
On Thu, Jun 21, 2018 at 12:15 AM Zac Hansen wrote:
> I don't know the answer, but they are accessible via the debugging
I don't know the answer, but they are accessible via the debugging
interface, so that may be a place to look.
On Wednesday, June 20, 2018 at 11:01:23 PM UTC-7, Gonzalo Diethelm wrote:
>
> I run the following JS code in the Chrome console:
>
> // Version 67.0.3396.87 (Official Build) (64-bit)
>