+1 vote
in JavaScript by
To know about an object, whether the object is a prototype (or a part of a prototype chain) of another object, the user can use_______

a) ==operator

b) equals() method

c) === operator

d) isPrototypeOf() method

1 Answer

0 votes
by

Answer: D

Reason: The prototype is a kind of global property that is available with nearly all objects. In order to know about an object, whether the object is a prototype (or a part of a prototype chain) of another object, the user can use the "isPrototypeOf()" method. For example, if the user wants to find out about z whether it is a prototype of "s" or not, user can write z.isPrototypeOf(s).

...