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.
Another application of the getPrototypeOf() function is to check whether two objects have same prototype or not
Supported Browser :
- Google Chrome 5.0 and above
- Internet Explorer 9.0 and above
- Firefox 3.5 and above
- Mozilla 4.0 and above
- Opera 12.1 and above
- Safari 5.0 and above