javascript program to find leap years between two years code example
Example: javascript program to find leap years between two years
forEach(year =>{if(test_LeapYear(year))new_array.push(year);});
return new_array;
}
function test_LeapYear(year)
{if((year%4===0&&year%100!==0)