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
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to firstname.lastname@example.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.