define-built-in.js 297 B

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