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