Home
Javascript Fundamentals
# Javascript basics
# Javascript arrays
# Javascript objects
# Javascript dates
# Javascript Sets
Javascript DOM
# DOM selector methods
# Events and user interactions
# DOM manipulation
# DOM fundamentals
# Recursive functions
Challenge Rush
Random Challenge
// 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 function myFunction ( a, b ) { return }
return
myFunction(new Date('2000/01/01'), new Date('2000/01/01'))
true
myFunction(new Date('2000/01/01'), new Date('2000/01/02'))
false
myFunction(new Date('2001/01/01'), new Date('2000/01/01'))
myFunction(new Date('2000/11/01'), new Date('2000/01/01'))