每日一题(4)
2020-04-20 本文已影响0人
欢欢小天使K
{
function test(){}
test = 123;
}
console.log(test)
{
function test(){}
test = 123
function test(){}
}
console.log(test)
答案: // ƒ test(){} //123
原因:
{
function test(){}
test = 123;
}
console.log(test)
{
function test(){}
test = 123
function test(){}
}
console.log(test)
答案: // ƒ test(){} //123
原因: