29. Keeps telling me I am wrong


#1



https://www.codecademy.com/courses/objects-ii/5/3?curriculum_id=506324b3a7dffd00020bf661#


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);
console.log(prototypeType);

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


#2

Hi this line

var prototypeType = typeof(Object.prototype);

just remove the () around Object.prototype


#3

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