es.object.create.js 332 B

12345678910
  1. // TODO: Remove from `core-js@4`
  2. var $ = require('../internals/export');
  3. var DESCRIPTORS = require('../internals/descriptors');
  4. var create = require('../internals/object-create');
  5. // `Object.create` method
  6. // https://tc39.es/ecma262/#sec-object.create
  7. $({ target: 'Object', stat: true, sham: !DESCRIPTORS }, {
  8. create: create
  9. });