(val)
| 815 | var propIsEnumerable = Object.prototype.propertyIsEnumerable; |
| 816 | |
| 817 | function toObject(val) { |
| 818 | if (val === null || val === undefined) { |
| 819 | throw new TypeError('Object.assign cannot be called with null or undefined'); |
| 820 | } |
| 821 | |
| 822 | return Object(val); |
| 823 | } |
| 824 | |
| 825 | function shouldUseNative() { |
| 826 | try { |