Skip to content
Junior–Senior161 views

How is the comparison of two Date objects displayed in console.log

Task condition

Determine what result will be printed to the console when executing the following code:

console.log(new Date(2000,1,1) == new Date(2000,1,1)) 
Frontend tasks in the code trainer