0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/test/fixtures/breakpoints.js

20 lines
201 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);