I am frequently using the different methods available on "Object" in javascript (eg. Object.create(null), Object.hasOwnProperty(...) etc.)
However I do not totally understand what Object actually is. I had a look at it with Firebug that, when typing Object says:
function Object() { [native code] }
This makes sense since I can use it as a constructor to create a new Object: new Object()
But if Object is a function, then how can it have methods in the say time?
The way I understand this is that when invoking let's say Object.create(null), create is a function that gets applied to the Object function. Is that true?
Some clarification would be appreciated.