函数提升大于变量提升

var a=10;
function a(){}
console.log(typeof a);
||
||
||
/
function a(){}

var a=10;
console.log(typeof a);  //number
原文地址:https://www.cnblogs.com/yanghai/p/14070819.html