You can pass a date string of an accepted format when creating a new Date object. const date = new Date("2020-12-31");. Now, if we print the ...
確定! 回上一頁