一个简单的输出测试
下面这段程序的执行结果:
function b(){console.log('1111');}
function b(){console.log('22222');}
var b=3;
b();
答案:Uncaught TypeError: b is not a function
-->
下面这段程序的执行结果:
function b(){console.log('1111');}
function b(){console.log('22222');}
var b=3;
b();
答案:Uncaught TypeError: b is not a function