summaryrefslogtreecommitdiffstats
path: root/js/xpconnect/tests/unit/es6module_throws.js
blob: c3ca94b6eb8417a90ebf8c2ab4e23ff41b6f24a7 (plain)
1
2
3
4
function throwFunction() {
  throw new Error("Failing with error foobar");
}
throwFunction();