mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
This is a normative change in the ECMA-262 spec. See: https://github.com/tc39/ecma262/commit/ed75310
7 lines
148 B
JavaScript
7 lines
148 B
JavaScript
eval("var foo;");
|
|
evaluateSource("let foo = 1;");
|
|
|
|
test("redeclaration of variable in global scope succeeded", () => {
|
|
expect(foo).toBe(1);
|
|
});
|