es.object.assign.js 332 B

123456789
  1. var $ = require('../internals/export');
  2. var assign = require('../internals/object-assign');
  3. // `Object.assign` method
  4. // https://tc39.es/ecma262/#sec-object.assign
  5. // eslint-disable-next-line es-x/no-object-assign -- required for testing
  6. $({ target: 'Object', stat: true, forced: Object.assign !== assign }, {
  7. assign: assign
  8. });