Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- console.log(x) // x is undefined
- var x = 0
- console.log(plus()) // 3
- function plus(){
- let y = 2
- return x + y
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement