I hereby claim:
- I am thomaspcg on github.
- I am thomaslim (https://keybase.io/thomaslim) on keybase.
- I have a public key ASD4qKKft8SzxPkT93lnOSzr2jb1-ruZ3jJH_Dw6lL9L9Qo
To claim this, I am signing this object:
//Check if parameter yr is a leap year. | |
var isLeapYear = function(yr) { | |
return (((yr % 4 === 0) && (yr % 100 !== 0)) || (yr % 400 === 0)); | |
}; | |
//Get leap year | |
// Paramaters: | |
// yr - starting year | |
// iteration - number of years to print out | |
// count - internal variable for tracking |
I hereby claim:
To claim this, I am signing this object: