ES5 Sham
The Object.getOwnPropertyNames()
method returns an array of all properties (including non-enumerable properties except for those which use Symbol) found directly upon a given object.
Source: ps-scripting-es5shim
npm install @extendscript/aes.patch.object.getownpropertynames
#include 'node_modules/@extendscript/aes.patch.object.getownpropertynames/getownpropertynames.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