register(plugins) {
    for (let i = 0; i < arguments.length; i++) {
      if (this.plugins.indexOf(arguments[i]) === -1) {
        this.plugins.push(arguments[i]);
      }
    }
  }
/**
   * Registers the list of specified plugins if not already registered.
   * @param {Array|Object} plugins plugin instance(s).
   */
Registers the list of specified plugins if not already registered.
@param {Array|Object} plugins plugin instance(s).
Registers the list of specified plugins if not already registered . @param { Array|Object } plugins plugin instance ( s ) .
register(plugins) {
    for (let i = 0; i < arguments.length; i++) {
      if (this.plugins.indexOf(arguments[i]) === -1) {
        this.plugins.push(arguments[i]);
      }
    }
  }
register ( plugins ) { for ( let i = 0 ; i < arguments . length ; i ++ ) { if ( this . plugins . indexOf ( arguments [ i ] ) === - 1 ) { this . plugins . push ( arguments [ i ] ) ; } } }
Registers the list of specified plugins if not already registered.
Registers the list of specified plugins if not already registered .