code: function Application(config, dataReplace) {
    if (!Helper.isObject(config) && !Helper.isArray(config)) {
      throw BaseError({
        title: 'The first parameter must be an array or object.',
      });
    }
    this._data = config;
    if (Helper.isObject(dataReplace) || Helper.isArray(dataReplace)) {
      this.template(dataReplace);
    }
  }
docs: Class Application
  @param {(object|array)} config - configuration data
  @param {(object|array)} [dataReplace=null] - template data
  @throws {BaseError}
  @constructor