redefine.js 266 B

123456
  1. var createNonEnumerableProperty = require('../internals/create-non-enumerable-property');
  2. module.exports = function (target, key, value, options) {
  3. if (options && options.enumerable) target[key] = value;
  4. else createNonEnumerableProperty(target, key, value);
  5. };