Propiedad prototype
Prototype is important in JavaScript because JavaScript does not have classical inheritance based on Classes (as most object oriented languages do), and therefore all inheritance in JavaScript is made possible through the prototype property. JavaScript has a prototype-based inheritance mechanism
A través del la propiedad de clase prototype, se agregan nuevas propiedades/funciones a todos los objetos.