Failed to save temp variable in chrome developer tool

In the chrome developer tool, we can store the values ​​of an object in a variable using "store as a global variable". But I got the error as follows. "Failed to save temporary variable."

chrome developer tool

+4
source share
1 answer

Is your object console.log'd out iframe? This would make sense, since it iframehas its own scope.

Try to create the same object in the html root area (not in iframe) and try the "store as global variable" button.

+3
source

Source: https://habr.com/ru/post/1667321/


All Articles