Sponsored
Sponsored
Use these hints if you're stuck. Try solving on your own first.
In Javascript, inheritance is achieved with the prototype chain.
You can get the prototype of an object with the Object.getPrototypeOf(obj) function. Alternatively, you can code obj['__proto__'].
You can compare an object's __proto__ with classFunction.prototype.
Traverse the entire prototype chain until you find a match.