code: function defineProp(target, obj, prop) {
    if (Object.defineProperty) {
      Object.defineProperty(target, prop, {
        get: function() { return obj[prop]; }
      });
    }
  }
docs: define get accessor using Object.defineProperty
  @private