变量提升和函数提升

js基础

Posted by Lan on June 13, 2019
  • var 变量提升,let和const不会提升
  • 命名函数提升,函数提升在变量后面