The @v8js engine optimizes away the `outerValue` from the closure for `inner`, since it's no needed. So @ChromeDevTools has no way to get to its value.
-
-
Not sure I understand even in recursion, seems like if the VALID value is accessible by clicking the prior callstack frame, then if the lambda doesn't have the value in its stack, then it auto-walks back the stack (just like a click would) to get the valid from the outer frames.
- Još 10 drugih odgovora
Novi razgovor -
-
-
Right, for a closure you don't know anymore which stack activation created it if that stack activation didn't create a context that's our outer context. If it did create a context we could figure it out that way.
-
Seems to me that the tooling already knows the parent context; the stack trace shows the parents in order and as Yang mentioned in his pro-tip you can walk the stack by clicking on the parents. So seems like just auto-walk up the stack on hover would solve it.

- Još 1 odgovor
Novi razgovor -
Čini se da učitavanje traje već neko vrijeme.
Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.