mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 07:30:19 +00:00
5 lines
229 B
JavaScript
5 lines
229 B
JavaScript
test("missing initializer in 'const' variable declaration is syntax error", () => {
|
|
expect("const foo").not.toEval();
|
|
expect("const foo = 1, bar").not.toEval();
|
|
expect("const foo = 1, bar, baz = 2").not.toEval();
|
|
});
|