const price = { price: 10, discount: 0.15, getPrice: function () { return this.price; }, getPriceWithDiscount: function () { return this.price- (this.discount / this.price); } }