JS
challenger
Home
JavaScript Practice
JavaScript dates
Check if two dates fall on the exact same day
Check if two dates fall on the exact same day
Write a function that takes two date instances as argument. It should return true if they fall on the exact same day. It should return false otherwise.
Premium
reset
function greet(name) { return `Hello, ${name}!`; } console.log(greet("Erik"));
JavaScript
Run Code
Console