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
Jonas Scholz -
邱敬幃 Pardn Chiu -
Mohd Suhel -
Abubaker Siddique -
Top comments (0)