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
npm install @extendscript/aes.patch.object.assign
#include 'node_modules/@extendscript/aes.patch.object.assign/assign.js'
You can test the code against a range of targets:
npm run test target-1 target-2
We keep a log of test results