es.object.create.js 306 B

123456789
  1. var $ = require('../internals/export');
  2. var DESCRIPTORS = require('../internals/descriptors');
  3. var create = require('../internals/object-create');
  4. // `Object.create` method
  5. // https://tc39.github.io/ecma262/#sec-object.create
  6. $({ target: 'Object', stat: true, sham: !DESCRIPTORS }, {
  7. create: create
  8. });