Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript leap year

function isLeapYear(year){
	if(year % 400 === 0 && year % 4 === 0){
      return true
    } else {
      return false
    }
}
 
PREVIOUS NEXT
Tagged: #javascript #leap #year
ADD COMMENT
Topic
Name
8+4 =