Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | 11x 11x 11x 2x 1x 2x 1x | function Point(x, y) { this.x = x; this.y = y; return this; } Point.prototype.add = function(point) { return new Point(this.x + point.x, this.y + point.y); }; Point.prototype.substract = function(point) { return new Point(this.x - point.x, this.y - point.y); }; export default Point; |