Date 日期调用了toJSON() 将其转换为了string 字符串(同Date.toISOString()),因此会被当做字符串处理。 const d = new Date() console.log(d.
確定! 回上一頁