es.object.define-properties.js 482 B

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