You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
309 B
11 lines
309 B
4 weeks ago
|
'use strict';
|
||
|
var defineProperty = require('../internals/object-define-property').f;
|
||
|
|
||
|
module.exports = function (Target, Source, key) {
|
||
|
key in Target || defineProperty(Target, key, {
|
||
|
configurable: true,
|
||
|
get: function () { return Source[key]; },
|
||
|
set: function (it) { Source[key] = it; }
|
||
|
});
|
||
|
};
|