, чтобы сохранить свой прогресс
Дискордианская дата
⌛
discordianDate
is a function.
⌛
discordianDate(new Date(2010, 6, 22))
should return "Pungenday, the 57th day of Confusion in the YOLD 3176"
.
⌛
discordianDate(new Date(2012, 1, 28))
should return "Prickle-Prickle, the 59th day of Chaos in the YOLD 3178"
.
⌛
discordianDate(new Date(2012, 1, 29))
should return "Setting Orange, the 60th day of Chaos in the YOLD 3178. Celebrate St. Tib\'s Day!"
.
⌛
discordianDate(new Date(2012, 2, 1))
should return "Setting Orange, the 60th day of Chaos in the YOLD 3178"
.
⌛
discordianDate(new Date(2010, 0, 5))
should return "Setting Orange, the 5th day of Chaos in the YOLD 3176. Celebrate Mungday!"
.
⌛
discordianDate(new Date(2011, 4, 3))
should return "Pungenday, the 50th day of Discord in the YOLD 3177. Celebrate Discoflux!"
.
⌛
discordianDate(new Date(2015, 9, 19))
should return "Boomtime, the 73rd day of Bureaucracy in the YOLD 3181"
.
/**
* Your test output will go here.
*/