Skip to content

Latest commit

 

History

History

object.getownpropertydescriptor

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

object.getownpropertydescriptor

version

ES5 Sham

The Object.getOwnPropertyDescriptor() method returns a property descriptor for an own property (that is, one directly present on an object and not in the object's prototype chain) of a given object.

Source: ps-scripting-es5shim

Install

npm install @extendscript/aes.patch.object.getownpropertydescriptor

Include

#include 'node_modules/@extendscript/aes.patch.object.getownpropertydescriptor/getownpropertydescriptor.js'

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