mdn / sprints

Archived: MDN Web Docs issues are tracked in the content repository.
https://github.com/mdn/content
Creative Commons Zero v1.0 Universal
150 stars 142 forks source link

Where is the page for Function.prototype.prototype? #3936

Closed ugultopu closed 3 years ago

ugultopu commented 3 years ago

The prototype instance property on a function instance allows that function to be used as a constructor. Although the prototype property is mentioned in the new operator page as:

You can add a shared property to a previously defined object type by using the Function.prototype property. This defines a property that is shared by all objects created with that function, rather than by just one instance of the object type. The following code adds a color property with value "original color" to all objects of type Car, and then overwrites that value with the string "black" only in the instance object car1. For more information, see prototype.

Both links point to the same URL which goes to nowhere. That is, the Function.prototype page is not present and it simply redirects to the Function page.

This is a big omission if I'm not missing something.

chrisdavidmills commented 3 years ago

Issue moved to mdn/content #1449 via ZenHub