Hoisting II
2022年5月1日小于 1 分钟
Hoisting II
Question
What does the code snippet to the right output by console.log
?
Snippet
const func1 = () => console.log(1)
func1()
func2()
function func2() {
console.log(2)
}
func3()
var func3 = function func4() {
console.log(3)
}