2

!rant
let specialDay = moment("25/12/2017");
console.log((moment(specialDay).isSame(moment(), 'day'))?'merry christmas':null);
Merry Christmas, sorry for making it complicated xD

Comments
Add Comment