2015-10-20 78 views

回答

1

我的控制檯使我這個:

typeof [] 
"object" 
typeof {} 
"object" 
typeof [] + {} 
"object[object Object]" 
typeof ([] + {}) 
"string" 

您上一次console.log的長度是因爲它是一個字符串。