Get stuck


#1


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


Oops, try again. Make sure to set prototypeType to the typeof Object.prototype


// 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

You need to remove the brackets in the first line like so:

var prototypeType = typeof Object.prototype;

#3

I am still confusing about what I must supposed to learn from this waypoint..


#4

Wrong. The parenthesis are not a problem, and are perfectly valid. The OP code actually passes with NO changes. You would know that if you actually took the time to test it.

Did you even see this question in the OP? If you want to help, then answer it.


#5

Well, for me, removing the brackets actually worked.
I never comment something before trying it


#6

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