@v8js @bmeurer @mathias - Is their some reason why Chrome Dev tools can't access the outer scope. Seems like it should still be in scope.pic.twitter.com/qKkPzjeoyw
U tweetove putem weba ili aplikacija drugih proizvođača možete dodati podatke o lokaciji, kao što su grad ili točna lokacija. Povijest lokacija tweetova uvijek možete izbrisati. Saznajte više
Simple code is: function bodyOnLoad() { const outerValue = 'ipsum'; function inner() { var innerVaue = 'test test'; debugger; } inner(); }
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.
initially that was my idea, but it still wasn't available in the inner, when it is used after it. function onLoad() { const oValue = 'ipsum'; function inner() { var innerVaue = 'test test'; debugger; } inner(); console.log(Value); }
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.