DEV Community

Discussion on: ECMAScript 2021 New Updates

Collapse
irochkaz profile image
Iryna Zaletko • Edited on

Error here, it should be // Output: x = 1; Output: a = 10 prntscr.com/17suwls

Or
let x = 1;
if(x){
x = 10;
}

Collapse
animeshmaru profile image
Animesh Author

Corrected, sorry for mistake. Thank u 😀