mirror of
https://github.com/zebrajr/ladybird.git
synced 2025-12-06 12:20:00 +01: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);
|
|
});
|