Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- let x=4;
- var y=5;
- console.log(y); //5
- {
- let x = 3;
- var y = 12;
- console.log(x); // 3
- }
- console.log(x); // 4
- console.log(y); //12
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement