UNPKG

309 BJavaScriptView Raw
1'use strict';
2var defineProperty = require('../internals/object-define-property').f;
3
4module.exports = function (Target, Source, key) {
5 key in Target || defineProperty(Target, key, {
6 configurable: true,
7 get: function () { return Source[key]; },
8 set: function (it) { Source[key] = it; }
9 });
10};