标签:函数声明 表达式 start 函数表达式 UNC ndt 变量声明 结果 art
var a = 10;
    var a = function (){
        console.log(a);
    }
    console.log(a);
 /*
  * ? (){
        console.log(a);
    }
 *
 */
var a = 10;
function a(){
  console.log(a);
}
 console.log(a);//10
标签:函数声明 表达式 start 函数表达式 UNC ndt 变量声明 结果 art
原文地址:https://www.cnblogs.com/yxq-funny-soul/p/13543719.html