If you're creating numbers and strings via a constructor, such as var foo = new String("foo") , you should keep in mind that typeof may return object for foo .
確定! 回上一頁