es.object.assign.js 340 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/no-object-assign -- required for testing
  6. $({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {
  7. assign: assign
  8. });