• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<script>
2function test()
3{
4    debugger;
5}
6
7for (var i = 0; i < 1; ++i)
8    test();
9</script>
10
11<p>To test, open the DevTools (Ctrl+Shift+I) and reload the page. When the debugger breaks, select the
12(anonymous function) node in the call stack, you should see the execution line on the call to test().</p>
13<br><br>
14Also set a breakpoint on the call to test(), and reload. It should break before the test() function is called.
15