code: function defineProperty(obj, prop, getter) {
    Object.defineProperty(obj, prop, {
      configurable: true,
      enumerable: true,
      get: getter
    });
  }
docs: Define getter function on object as a configurable and enumerable property.
  
  @param  {Object} `obj` Object to define property on.
  @param  {String} `prop` Property to define.
  @param  {Function} `getter` Getter function to define.