I was reading the documentation on the slice
function and saw that the title of the page was: "Array.prototype.slice()".
Why is the keyword prototype
between Array
and slice()
?
Here is the page: documentation
Any references to official documentation would be very helpful!