Skip to content
This repository was archived by the owner on May 17, 2025. It is now read-only.
This repository was archived by the owner on May 17, 2025. It is now read-only.

inner scope declaration affects outer scope #212

Description

@mminea

let x = 0;
{
{ let x = 10; }
x += 10;
}
console.log(x);

This will print 20 although the correct value should be 10.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions