This commit is contained in:
nim-ka
2022-11-08 22:30:37 +00:00
parent b5e7f07541
commit f8e9088e67
13 changed files with 616 additions and 341 deletions

6
pt.js
View File

@@ -1,4 +1,4 @@
class Point {
Pt = Point = class Point {
constructor(x, y) {
this.x = x
this.y = y
@@ -60,9 +60,7 @@ class Point {
toString() { return this.x + "," + this.y }
}
Pt = Point
function P(...args) {
P = function P(...args) {
return new Point(...args)
}