function bar() { return foo; foo = 10; function foo() {} var foo = 11; } console.log(typeof bar());//function 爲何不是number