JavaScript 的Date 对象有个有意思的特性:当设置date 的月或日的值大于合法值或为负值时,date 会转化成合法值。如: var date1 = new Date('2015/1/31') ...
確定! 回上一頁