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>
23 lines
240 B
JavaScript
23 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;
|