...
Solution Review: isPrototypeOf
This lesson will explain the solution to the problem in the previous lesson.
function isPrototype(){ var obj1 = {x: 1}; var obj2 = Object.create(obj1) console.log( obj1.isPrototypeOf(obj2) );} isPrototype()
In this challenge, you had to write some code on line 3 so that the statement on ...