So fügen Sie einer Klasse in JavaScript eine Eigenschaft hinzu

myObject.prototype.newproperty = "value"
Shiny Salmon