code: function PathArray (env, property) {
    if (!(this instanceof PathArray)) return new PathArray(env);
    ArrayIndex.call(this);
  
    this.property = property || 'PATH';
  
    // overwrite only the `get` operator of the ".length" property
    Object.defineProperty(this, 'length', {
      get: this._getLength
    });
  
    // store the `process.env` object as a non-enumerable `_env`
    Object.defineProperty(this, '_env', {
      value: env || process.env,
      writable: true,
      enumerable: false,
      configurable: true
    });
  
    // need to invoke the `length` getter to ensure that the
    // indexed getters/setters are set up at this point
    void(this.length);
  }
docs: `PathArray` constructor. Treat your `$PATH` like a mutable JavaScript Array!
  
  @param {Env} env - `process.env` object to use.
  @param {String} [property] - optional property name to use (`PATH` by default).
  @public