Manipulating Prototypes

getting and setting prototypes of objects using the Reflect API

We can get the prototype of an object using the Reflect API.

Level up your interview prep. Join Educative to access 80+ hands-on prep courses.