SOURCE

myDate = new Date();
myDate = new Date("December 19, 1983 03:24:00");
myDate = new Date(1983,11,19);
myDate = new Date(1983,11,17,3,24,0);

console.log(myDate);
console 命令行工具 X clear

                    
>
console