montagejs / montage

Montage is an elegant, open source HTML5 framework maintained by Montage Studio that rivals native SDKs, yet is easier to learn. It offers modular components, two-way data binding, and much more. Join us on irc.freenode.net#montage. Sign up for our beta to build Montage applications in the cloud.
http://montagestudio.com/montagejs
Other
1.51k stars 214 forks source link

Allow undefined arguments to be passed to Object.assign #2007

Closed tejaede closed 5 years ago

tejaede commented 5 years ago

Object.assign() should not throw if given undefined or null arguments, per MDN. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign (last line of description section as of this writing)

his PR updates the object polyfill accordingly.