Files
sousa-gecko/devtools/client/debugger/test/mochitest/examples/simple3.js
T
Alexandre Poirot c0a08e0182 Bug 1908889 - [devtools] Implement an inlined trace panel. r=devtools-reviewers,nchevobbe
This panel allows to easily jump between each call of the currently selected function.

Differential Revision: https://phabricator.services.mozilla.com/D208324
2025-09-24 10:04:49 +00:00

20 lines
246 B
JavaScript

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