// 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(); }