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