Created
March 5, 2020 01:20
-
-
Save bkudria/0a54203493a66d9e0406f6149a065079 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let leap_day = new Date(2020, 1, 29); | |
let next_feb_eom = new Date(2021, 1, 28); | |
assert( | |
calculateNextYear(leap_day) === next_feb_eom | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment