JavaScript object inheritance techniques Via Object.create() function Shape(x,y) { this.x = x; this.y = y; }