Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save rainyjune/4006413 to your computer and use it in GitHub Desktop.
Save rainyjune/4006413 to your computer and use it in GitHub Desktop.
Chrome Developer Tools 的 Watch Expressions 功能
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Chrome Developer Tools</title>
</head>
<body>
<a href="#">click</a>
<script type="text/javascript">
var a = 123;
a = 456;
a = "test";
setTimeout(function(){
a = 'new0';
alert(a);
},5000);
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment