The document discusses extending built-in objects in JavaScript by modifying their prototypes. It explains that functions have prototypes that can be used to add properties and methods, and that these properties and methods will be available to any objects created with that function. Examples are given of adding a property to the prototype of a constructor function A, and then accessing that property from an object B created with A. The document also shows how a method can be added to the Array prototype to allow printing the contents of any array.