title: Javascript class variables
body: <p>I have encountered an error while trying to declare a variable inside of a Javascript class. Here is an example of code.</p>
  
  <pre><code>class BaseContainer {
    constructor(parent){
      this.Shell = document.createElement("DIV");
      parent.appendChild(this.Shell);
    };
    this.SomeVar = 1;
  };
  </code></pre>
  
  <p>It gives me an error.</p>