parse returns a timestamp in milliseconds if the string is a valid date. Otherwise, it returns NaN . So the first console log will log ...
確定! 回上一頁