Pregunta de entrevista de Novalnet

write a programme in javascript to find out leapyear