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
Serif COLAKEL -
The Witcher -
Mike Young -
Henrique Emanoel Viana -
Top comments (0)