ExtendScript / extendscript-es6-shim

MIT License
30 stars 6 forks source link

Which Polyfill to use? #1

Open ff6347 opened 7 years ago

ff6347 commented 7 years ago

On MDN there is a different polyfill for Object.assign then the one we have currently. Which one should we use? https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign#Polyfill

I would vote for the MDN one.

the-moisrex commented 7 years ago

MDN would be my choice.

EugenTepin commented 7 years ago

For es5 shims, i get code mostly from MDN, and then rewrite it to fit Adobe js engine. In case of es6 shim the same approach is applicable.

GitBruno commented 6 years ago

Hey guys, I added a guideline about this in the extendscripters wiki.