paulmillr / es6-shim

ECMAScript 6 compatibility shims for legacy JS engines
http://paulmillr.com
MIT License
3.11k stars 387 forks source link

Object.assign erroneous TypeError #348

Closed rwaldron closed 9 years ago

rwaldron commented 9 years ago

This was exposed by @yanlxu's tests here: https://github.com/tc39/test262/pull/293/files

Ref: https://github.com/paulmillr/es6-shim/blob/cba1442ccf1f11e4cf23b65ef21d29a46e85baa4/es6-shim.js#L1128

Object.assign must: