So Meta I can't take it


#1


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


I keep getting this error message and I'm not sure what's wrong with my code.
TypeError: Object.prototype is not a function


var prototypeType = typeof Object.prototype();
console.log(prototypeType);

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


#2

Object.prototype is an object, not a function so we won't write ().


#3

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