summaryrefslogtreecommitdiffstats
path: root/devtools/client/debugger/test/mochitest/examples/doc-eval-throw.html
blob: 2345369dc928a9670aaad5d8d1dfbcc3ec6987a9 (plain)
1
2
3
4
5
6
7
8
9
<!DOCTYPE html>
<meta charset=UTF-8>
<script>
function evaluateException() {
  try {
    eval("throw new Error()");
  } catch (e) {}
}
</script>