@extendscript/aes.patch.object.preventextensions

2.0.0 • Public • Published

object.preventextensions

ES5 Sham

The Object.preventExtensions() method prevents new properties from ever being added to an object (i.e. prevents future extensions to the object).

WARNING Silently fails in ExtendScript. This should be fine unless you are depending on the safety and security provisions of this method.

Source: ps-scripting-es5shim

Install

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

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

Package Sidebar

Install

npm i @extendscript/aes.patch.object.preventextensions

Weekly Downloads

0

Version

2.0.0

License

MIT

Unpacked Size

3.36 kB

Total Files

6

Last publish

Collaborators

  • extendscripter
  • fabian.moron.zirfas
  • fabianmoronzirfas
  • vogelino