但有一個很麻煩的事情,只能知道那個變量是object不能知道更精確的類型 let s = new String('abc'); typeof s === 'object' // true // 還必須靠instanceof s ...
確定! 回上一頁