code: public JavascriptVarBuilder closeVar() {
          if (isObject) {
              sb.append("}");
          }
          else {
              sb.append("]");
          }
  
          if (isVar) {
              sb.append(";");
          }
          return this;
      }
docs: Closes the array or object.
  
  @return