1
0
Fork 0
firefox/devtools/client/debugger/test/mochitest/examples/preview-getter.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

15 lines
No EOL
205 B
JavaScript

const obj = {
propA: 1,
propB: { arr: [1,2,3,4,5] },
get getPropA() {
this.propA;
return this.propA;
},
get getPropB() {
return this.propB;
}
}
function funcA() {
obj.getPropA;
}