Since Array.prototype
itself returns an empty array, where do all functions come from?
Why I can call functions something like Array.prototype.sort
, even Array.prototype is not object?
Array.prototype.__proto__
is an object.
I have same question on the case of Function.prototype
.