Quiz Challenges
100
Question 37 of 100
37%
37
Consider the following code. What will gets logged on the console?
Copy
hoisted
(
)
;
function
hoisted
(
)
{
console
.
log
(
'foo'
)
;
}
;
A
undefined
B
foo
C
ReferenceError
Submit Answer
Previous
37
/
100
Next