es.object.define-properties.js 496 B

1234567891011
  1. 'use strict';
  2. var $ = require('../internals/export');
  3. var DESCRIPTORS = require('../internals/descriptors');
  4. var defineProperties = require('../internals/object-define-properties').f;
  5. // `Object.defineProperties` method
  6. // https://tc39.es/ecma262/#sec-object.defineproperties
  7. // eslint-disable-next-line es/no-object-defineproperties -- safe
  8. $({ target: 'Object', stat: true, forced: Object.defineProperties !== defineProperties, sham: !DESCRIPTORS }, {
  9. defineProperties: defineProperties
  10. });