Probably it's because I'm misunderstanding the prototype chain, but could someone explain me the prototype structure that makes this assertion true?
console.log.prototype === console.prototype
I expect it to be something like this
console.prototype.log = function(){...}
So log
has the basic function prototype. How does that prototype resolves to his parent prototype ?
I tried some things that I didn't expected to work, but they work. For example, instead of doing:
var binded = console.log.bind(console,'something');
I can do this
var otherBind = console.log.bind(console.log,'something else')