6 lines
171 B
JavaScript
6 lines
171 B
JavaScript
// 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();
|
|
}
|