In this lab, you will demonstrate the use of
Derived - and learn how to use
Reflect.setPrototypeOf() to set the
Base class as the prototype of the
Reflect.setPrototypeOf() method is used to set the prototype of an object (i.e., the internal
[[Prototype]] property). This is the same operation as setting the
__proto__ property via assignment. In this lab, you will have a chance to test it out by yourself.