1
0
Fork 0
firefox/devtools/server/tests/xpcshell/stepping.js
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

36 lines
381 B
JavaScript

"use strict";
/* exported global arithmetic composition chaining nested */
const obj = { b };
function a() {
return obj;
}
function b() {
return 2;
}
function arithmetic() {
debugger;
a() + b();
}
function composition() {
debugger;
b(a());
}
function chaining() {
debugger;
a().b();
}
function c() {
return b();
}
function nested() {
debugger;
c();
}