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
2 months agoMarkus
3 months agoLong
2 months agoMelissia
2 months agoAvery
2 months agoHyman
3 months agoVivienne
2 months agoValentine
2 months agoShala
2 months agoClement
2 months agoCraig
3 months agoSanda
3 months agoFrance
3 months agoRebeca
3 months agoWeldon
3 months agoBronwyn
3 months agoShay
3 months agoBarney
3 months agoJerilyn
3 months agoGrover
3 months agoZachary
3 months agoLamar
3 months ago