So Meta I can't take it


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();

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


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


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