变量提升

function声明优先级比var高,无论在其前后,都会覆盖掉同名的var声明

原文地址:https://www.cnblogs.com/wangxirui/p/15504605.html