我在javascript中创建了一个日期:
var thisDate = new Date();
thisDate.setHours(0);
thisDate.setMinutes(0);
thisDate.setSeconds(0);
thisDate.setMilliseconds(0);
当我将鼠标悬停在变量上时,根据Chrome调试器工具提示:
Fri Mar 15 2013 00:00:00 GMT-0400 (Easte...
> __proto__: Invalid Date