index.js
function defineProperty(obj, prop, getter) {
  Object.defineProperty(obj, prop, {
    configurable: true,
    enumerable: true,
    get: getter
  });
}
function defineProperty(obj, prop, getter) {
  Object.defineProperty(obj, prop, {
    configurable: true,
    enumerable: true,
    get: getter
  });
}
function defineProperty ( obj , prop , getter ) { Object . defineProperty ( obj , prop , { configurable : true , enumerable : true , get : getter } ) ; }
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.
Define getter function on object as a configurable and enumerable property .