Answers for "javascript new date undefined"

0

javascript new date undefined

console.log(new Date(null)); // 1970-01-01T00:00:00.000Z
console.log(new Date(undefined)); // Invalid Date
Posted by: Guest on October-14-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language