, write a program to check whether this year is a leap year or not. js code example
Example: how to check leap year in javascript
function isLeapYear(year) {
if (year % 400 === 0) return true;
if (year % 100 === 0) return false;
return year % 4 === 0;
}