Are function declarations hoisted above variables?

后端 未结 0 1874
我寻月下人不归
我寻月下人不归 2020-12-18 04:19

In class, I learned that function declarations are hoisted, as well as variables so that they can be used before they are declared. In that case though, why does this throw

相关标签:
回答
  • 消灭零回复
提交回复
热议问题