Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- let x = 0;
- console.log(x);
- if (true) {
- let x = 1
- console.log(x);
- }
- console.log(x);
- // Output :
- // 0
- // 1
- // 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement