Files
UXP-Fixed/devtools/client/debugger/new/test/mochitest/examples/exceptions.js
T
2018-02-02 04:16:08 -05:00

20 lines
252 B
JavaScript

function uncaughtException() {
throw "unreachable"
}
function caughtError() {
try {
throw new Error("error");
} catch (e) {
debugger;
}
}
function caughtException() {
try {
throw "reachable";
} catch (e) {
debugger;
}
}