Skip to content

Latest commit

 

History

History

object.defineproperty

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.md

object.defineproperty

version

ES5 Sham

The static method Object.defineProperty() defines a new property directly on an object, or modifies an existing property on an object, and returns the object.

Source: ps-scripting-es5shim

Install

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

Include

#include 'node_modules/@extendscript/aes.patch.object.defineproperty/defineproperty.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