1
0
mirror of https://github.com/roytam1/UXP.git synced 2026-06-12 03:18:36 +00:00
Files
UXP/devtools/client/debugger/new/test/mochitest/examples/exceptions.js
T

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;
}
}