Update proto.js

This commit is contained in:
nim from KA
2021-12-31 06:45:45 -05:00
committed by GitHub
parent 17a4e953c9
commit 133fe58b15

View File

@@ -116,7 +116,7 @@ Object.defineProperty(Array.prototype, "pt", {
Object.defineProperties(PointArray.prototype, {
sort: {
value: function(func = (a, b) => a.readingOrderCompare(b)) {
this.sort(func)
return this.sort(func)
}
},
includes: {