>var date = new Date("hello"); >date Invalid Date >typeof date “object” >date instanceof Date true. 示例里使用非日期格式"hello"构造Date对象.
確定! 回上一頁