Date.parse和new Date(str)的兼容性問題

今天遇到一個怪異的BUG, 一路跟蹤到isNaN(Date.parse(str))這句上,這裏的意圖是探測str是不是合法的日期字符串。根據MDN的定義:javascript The Date.parse() method parses a string representation of a date, and returns the number of milliseconds since J
相關文章
相關標籤/搜索