1 2 3
test("unknown variable produces ReferenceError", () => { expect(new Function("i < 3")).toThrow(ReferenceError); });