public/subjects/count-leap-years/README.md

195 B

Count Leap Years

Instructions

Create a function named countLeapYears which accepts a Date. Your function should return the number of leap years to have taken place since the year 1.