- A true
- B false
- C 0
- D error
- Share this MCQ
Answer:
A
Share this MCQ
The Object.getPrototypeOf()
method in JavaScript is used to get the prototype of an object. It returns the value of the prototype, which is the object that the object inherits properties and methods from.
The Object.getPrototypeOf()
method does not return inherited properties of the object, only the prototype value.
Share this MCQ