List of questions
Related questions
Question 215 - Certified JavaScript Developer I discussion
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();
What is the value of result after the code executes?
A.
100
B.
undefined
C.
null
D.
70
Your answer:
0 comments
Sorted by
Leave a comment first