(val)
| 550 | var propIsEnumerable = Object.prototype.propertyIsEnumerable; |
| 551 | |
| 552 | function toObject(val) { |
| 553 | if (val === null || val === undefined) { |
| 554 | throw new TypeError('Object.assign cannot be called with null or undefined'); |
| 555 | } |
| 556 | |
| 557 | return Object(val); |
| 558 | } |
| 559 | |
| 560 | function shouldUseNative() { |
| 561 | try { |