summaryrefslogtreecommitdiffstats
path: root/dom/tests/mochitest/bugs/file_bug873229.js
blob: e2be3f08a2a069a1c2101059fa955d33b8366621 (plain)
1
2
3
4
5
6
// This is a script that will let you get an exception thrown by
// calling bar() with no arguments, say.
var foo = "Some string";
function bar(x) {
  x.trySomething();
}