(val)
| 770 | var propIsEnumerable = Object.prototype.propertyIsEnumerable; |
| 771 | |
| 772 | function toObject(val) { |
| 773 | if (val === null || val === undefined) { |
| 774 | throw new TypeError('Object.assign cannot be called with null or undefined'); |
| 775 | } |
| 776 | |
| 777 | return Object(val); |
| 778 | } |
| 779 | |
| 780 | function shouldUseNative() { |
| 781 | try { |