Skip to content

Latest commit

 

History

History
27 lines (14 loc) · 964 Bytes

File metadata and controls

27 lines (14 loc) · 964 Bytes

function.bind

version

ES5 Sham

The bind() method creates a new function that, when called, has its this keyword set to the provided value, with a given sequence of arguments preceding any provided when the new function is called.

WARNING! Bound functions used as constructors NOT supported by this polyfill!

Source: ps-scripting-es5shim

Install

npm install @extendscript/aes.patch.function.bind

Include

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