mirror of
https://github.com/Snigdha-OS/documentation.git
synced 2025-09-08 19:34:56 +02:00
11 lines
309 B
JavaScript
11 lines
309 B
JavaScript
'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; }
|
|
});
|
|
};
|