JSPlaygrounds icon indicating copy to clipboard operation
JSPlaygrounds copied to clipboard

Variable initialization will be evaluated to last valid evaluation

Open VincentDamour opened this issue 8 years ago • 0 comments

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

VincentDamour avatar Jul 08 '16 23:07 VincentDamour