1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
Deno.test("foo", () => { throw undefined; }); Deno.test("bar", () => { throw null; }); Deno.test("baz", () => { throw 123; }); Deno.test("qux", () => { throw "Hello, world!"; }); Deno.test("quux", () => { throw [1, 2, 3]; }); Deno.test("quuz", () => { throw { a: "Hello, world!", b: [1, 2, 3] }; });