mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-20 09:49:15 +03:00
4 lines
120 B
JavaScript
4 lines
120 B
JavaScript
test("unknown variable produces ReferenceError", () => {
|
|
expect(new Function("i < 3")).toThrow(ReferenceError);
|
|
});
|