Posts by user82428 • 119 points
1 post
-
11
votes5
answers6116
viewsA: What is the difference between the functions var name = Function() and Function name()?
There are many differences, one of them is the hoisting, function has priority in interpreter. foo(); foo = function() {} //saída: Uncaught ReferenceError: foo is not defined (foo não está definido)…
javascriptanswered user82428 119