function Variable(name, type) {
    _classCallCheck(this, Variable);

    this.name_ = name;
    this.val_ = undefined;
    this.type_ = type;
    this.updateDomElements_();
  }
/**
   * Create a variable with name and type.
   * Do not use this contructor directly. Instead use the factory function
   * createVariable() in variable.js.
   * @param {string} name 
   * @param {string} type one of number, string and boolean.
   */
Create a variable with name and type.
Do not use this contructor directly. Instead use the factory function
createVariable() in variable.js.
@param {string} name
@param {string} type one of number, string and boolean.
Create a variable with name and type . Do not use this contructor directly . Instead use the factory function createVariable () in variable . js . @param { string } name @param { string } type one of number string and boolean .
function Variable(name, type) {
    _classCallCheck(this, Variable);
    this.name_ = name;
    this.val_ = undefined;
    this.type_ = type;
    this.updateDomElements_();
  }
function Variable ( name , type ) { _classCallCheck ( this , Variable ) ; this . name_ = name ; this . val_ = undefined ; this . type_ = type ; this . updateDomElements_ ( ) ; }
Create a variable with name and type.
Create a variable with name and type .