(val)
| 990 | var propIsEnumerable = Object.prototype.propertyIsEnumerable; |
| 991 | |
| 992 | function toObject(val) { |
| 993 | if (val === null || val === undefined) { |
| 994 | throw new TypeError('Object.assign cannot be called with null or undefined'); |
| 995 | } |
| 996 | |
| 997 | return Object(val); |
| 998 | } |
| 999 | |
| 1000 | function shouldUseNative() { |
| 1001 | try { |