Implemented garbage collection
As a whole, this is still tentative.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
//find the leap years
|
||||
fn isLeapYear(n: int) {
|
||||
fn isLeapYear(n: Int) {
|
||||
if (n % 400 == 0) return true;
|
||||
if (n % 100 == 0) return false;
|
||||
return n % 4 == 0;
|
||||
|
||||
Reference in New Issue
Block a user