javascript - Access last logged value in Chrome console -
when evaluate expression directly in chrome console
1 + 1
then can reference evaluated value using
$_
however, can't access value $_, when value result of console.log, coming inside of application, instead of expression typed directly console.
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
Post a Comment