const target = 2004; if((target % 4 == 0 && target % 100 != 0) || (target % 400 == 0)) { console.log("yes"); } else { console.log("no"); }