{
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
原因:
本文标题:每日一题(4)
本文链接:https://www.haomeiwen.com/subject/kzkjihtx.html
网友评论