Refer to the code below:
const car = {
price:100,
getPrice:function(){
return this.price;
}
};
const customCar = Object.create(car);
customCar.price = 70;
delete customCar.price;const result = customCar.getPrice();
Whatis the value of result after the code executes?
Paola
8 months agoMarkus
9 months agoLong
8 months agoMelissia
8 months agoAvery
8 months agoHyman
9 months agoVivienne
8 months agoValentine
8 months agoShala
8 months agoClement
8 months agoCraig
9 months agoSanda
9 months agoFrance
9 months agoRebeca
9 months agoWeldon
9 months agoBronwyn
9 months agoShay
9 months agoBarney
9 months agoJerilyn
9 months agoGrover
9 months agoZachary
9 months agoLamar
9 months ago