Node-Red configuration
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

es.object.define-properties.js 496B

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. });