What will the console log in this example?
var foo = 1
var foobar = function() {
console.log(foo)
var foo = 2
}
foobar()
Output
undefined
What will the console log in this example?
var foo = 1
var foobar = function() {
console.log(foo)
var foo = 2
}
foobar()
Output
undefined
For further actions, you may consider blocking this person and/or reporting abuse
madina1575 -
Michael Andreuzza -
xavier2code -
xavier2code -
Top comments (0)