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