summaryrefslogtreecommitdiffstats
path: root/devtools/client/debugger/test/mochitest/examples/simple3.js
blob: 7b1f33a195e08b7e4cf027ac41b2d3e17abcbb0b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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;
}