(val)
| 671 | var propIsEnumerable = Object.prototype.propertyIsEnumerable; |
| 672 | |
| 673 | function toObject(val) { |
| 674 | if (val === null || val === undefined) { |
| 675 | throw new TypeError('Object.assign cannot be called with null or undefined'); |
| 676 | } |
| 677 | |
| 678 | return Object(val); |
| 679 | } |
| 680 | |
| 681 | function shouldUseNative() { |
| 682 | try { |