Skip to content

Variable initialization will be evaluated to last valid evaluation #2

@VincentDamour

Description

@VincentDamour

The problem

When I initialize a variable, the output will be the last valid expression. For example:

let x = 5;
x
let y = 8;
y

The output will be:

5
5
8

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions