Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
JavaScript Interview Question
var age = 20
(function () {
console.log("Original age is " + age)
var age = 30
console.log("The new age is " + age)
})()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.