3 lines
79 B
Text
3 lines
79 B
Text
func is_leap(y) {
|
|
return ((y % 4 == 0) & (y % 100 != 0)) | (y % 400 == 0);
|
|
}
|