Replaced polyfills with real implementations

This commit is contained in:
2023-07-30 18:11:19 +10:00
parent a20cfdd13e
commit ad0539be68
9 changed files with 34 additions and 95 deletions

View File

@@ -555,10 +555,4 @@ fn generateSnapshotAt(x: int, y: int) {
}
return result;
}
//polyfill
fn sign(x) {
if (x > 0) return 1;
return -1;
}
}