extendscript-es6-shim icon indicating copy to clipboard operation
extendscript-es6-shim copied to clipboard

Which Polyfill to use?

Open ff6347 opened this issue 8 years ago • 3 comments

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.

ff6347 avatar Mar 12 '17 07:03 ff6347

MDN would be my choice.

the-moisrex avatar Mar 12 '17 15:03 the-moisrex

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.

EugenTepin avatar Mar 12 '17 22:03 EugenTepin

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

GitBruno avatar Mar 22 '18 23:03 GitBruno