0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-30 07:27:22 +01:00
nodejs/test/fixtures/breakpoints.js

24 lines
231 B
JavaScript
Raw Normal View History

2011-09-23 17:28:32 +02:00
debugger;
function a(x) {
var i = 10;
while (--i != 0);
debugger;
return i;
}
2011-09-23 17:28:32 +02:00
function b() {
return ['hello', 'world'].join(' ');
}
2011-09-23 17:28:32 +02:00
a();
a(1);
b();
b();
setInterval(function() {
}, 5000);
now = new Date();
debugger;