title: Javascript: Is it possible to inject new functions into a base 'class/object' that will be available in all sub-'classes/objects'?
body: <p>I am trying to add a new property to a class in an existing JavaScript framework (Wireit).</p>
  
  <p>The base class is called Container and I want all Containers to have a GUID property. Container is currently sub-classed to ImageContainer, FormContainer etc.</p>
  
  <p>If I extend Container to have a GUID, would the GUID be available in ImageContainer, FormContainer etc.?</p>
  
  <p>How would I do this? Examples?</p>