mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-23 08:00:20 +00:00
d7f6635d55
Also add spec comments.
4 lines
205 B
JavaScript
4 lines
205 B
JavaScript
test("if statement consequent/alternate expression returns empty completion", () => {
|
|
expect(eval("1; if (true) {}")).toBeUndefined();
|
|
expect(eval("1; if (false) {} else {}")).toBeUndefined();
|
|
});
|