1 2 3 4 5
function test() { ok(true, "ok called"); expectUncaughtException(); throw new Error("this is a deliberately thrown exception"); }