export class Point { constructor(x, y){ this.x = x; this.y = y; } scale(x, y) { this.x *= x; this.y *= y; } }