Parameters: It accepts a parameter “created object” which is the object of the entity whose prototype going to be found out.
Return Value: It returns the internal prototype of the object passed in the method.
Example 2: Another application of the getPrototypeOf() function is to check whether two objects have the same prototype or not.
Supported Browser :
Please Login to comment...