29......Why the Extra String?


I have passed it already, but I do not know why there is an extra "hasOwnProperty"....string.

var prototypeType = typeof Object.prototype;

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


The method takes a string. As we know, all attribute names are strings.


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