title: JavaScript Class Getter/Setter
body: <p>is there a way to listen for a property call on a JavaScript Class</p>
  
  <p>for example when i go something like this:</p>
  
  <pre><code>myForm =  new Form();
  
  myForm.name = 'Name'; 
  </code></pre>
  
  <p>-> when i set the name i dont only want to set the property but i also want to update my Vuex store.
   Same thing with <code>get</code> i would like to read from Vuex store.</p>
  
  <p>I knoew there are thins like Proxy but for this i need to wrap my Class with a Proxy object. Not so sure if i like this.</p>
  
  <pre><code>module.exports = new Proxy(new Form({}), {
      get (receiver, name) {
          console.log('getting property from Vuex Store');
      }
  });
  </code></pre>
  
  <p>What i need is something like this:</p>
  
  <pre><code>module.exports = class Form {
  
  //this should be triggered when form.something
  get(property) {
  return this[property];
  }
  
  //this should be triggered when from.something = 'something'
  set(property, value) { 
  return this[property] = value;
  }
  };
  </code></pre>
  
  <p>it there a best practice for this?</p>