object.assign
ES6 Shim
The assign()
method is used to copy values of all enumerable own properties from one or more source objects to a target object. It will return the target object.
Source: MDN
Install
npm install @extendscript/aes.patch.object.assign
Test
You can test the code against a range of targets:
npm run test target-1 target-2
We keep a log of test results