mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +01:00
991ce2daf3
test-debugger-repl-term had incorrect expected output and so was failing. It was likely dependent on previous bugs in the debugger. The fixture file has been modified so that the output is as expected. PR-URL: https://github.com/nodejs/node/pull/6682 Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Ben Noorhduis <info@bnoordhuis.nl>
24 lines
240 B
JavaScript
24 lines
240 B
JavaScript
debugger;
|
|
function a(x) {
|
|
var i = 10;
|
|
while (--i != 0);
|
|
debugger;
|
|
return i;
|
|
}
|
|
function b() {
|
|
return ['hello', 'world'].join(' ');
|
|
}
|
|
a();
|
|
debugger;
|
|
a(1);
|
|
b();
|
|
b();
|
|
|
|
|
|
setInterval(function() {
|
|
}, 5000);
|
|
|
|
|
|
now = new Date();
|
|
debugger;
|