如果var 遇到function 1.赋值式创建函数 var fn = function(){} 提升的是var,不是function var提升的更高,所以function占便宜,生效的是function