trisquel-icecat/icecat/devtools/client/debugger/test/mochitest/examples/simple3.js

19 lines
246 B
JavaScript

function simple() {
const obj = { foo: 1, bar: 2 };
const func = foo(1, 2);
const result = func();
return result;
}
function nestedA() {
nestedB();
}
function nestedB() {
nestedC();
}
function nestedC() {
debugger;
return 1;
}