29. Keeps telling me I am wrong



I don't know what I am doing wrong. I am doing exactly what the hint says but am still getting error message: Oops, try again. Make sure to set prototypeType to the typeof Object.prototype . I don't know what to do anymore. Could the lesson be bugged?

// what is this "Object.prototype" anyway...?
var prototypeType = typeof(Object.prototype);

// now let's examine it!
var hasOwn = Object.prototype.hasOwnProperty("hasOwnProperty");


Hi this line

var prototypeType = typeof(Object.prototype);

just remove the () around Object.prototype


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.