MCPcopy Create free account
hub / github.com/codemistic/Web-Development / leapChecker

Function leapChecker

Age Calculator/script.js:60–72  ·  view source on GitHub ↗
(year)

Source from the content-addressed store, hash-verified

58}
59
60function leapChecker(year){
61 if(year%4==0 || (year%100==0 && year%400==0)){
62 months[1]=29;
63 }
64 else{
65 months[1]=28;
66 }
67
68
69
70
71
72 }
73function checkBirthday(bdate,bmonth,byear,currentDay,currentMonth,currentYear){
74 if(bdate==currentDay && bmonth===currentMonth && byear<currentYear){
75 let msg=document.getElementById("wish");

Callers 1

ageCalcFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected