console.log(foo());
var foo = function()
{ return "Function Expression"; };
function foo()
{ return "Function Declaration"; }
What will be Logged to the console?
"Function Expression"
"Function Declaration"
Type Error
ReferenceError
This question is part of this quiz :
JavaScript Operators