All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.internals.proxy-accessor.js Maven / Gradle / Ivy

The newest version!
'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; }
  });
};




© 2015 - 2024 Weber Informatics LLC | Privacy Policy