javascript - Access last logged value in Chrome console -


when evaluate expression directly in chrome console

1 + 1 

then can reference evaluated value using

$_ 

enter image description here

however, can't access value $_, when value result of console.log, coming inside of application, instead of expression typed directly console.

enter image description here

is there way access last evaluated expression, regardless came from?

after it's been logged console, can right click on , option store global function. clicking define new variable 'temp1' point variable. here's video of in action (not mine).


Comments

Popular posts from this blog

android - getbluetoothservice() called with no bluetoothmanagercallback -

sql - ASP.NET SqlDataSource, like on SelectCommand -

ios - Undefined symbols for architecture armv7: "_OBJC_CLASS_$_SSZipArchive" -