One Hat Cyber Team
Your IP :
10.30.1.1
Server IP :
103.148.201.5
Server :
Linux web-olt 5.15.0-161-generic #171-Ubuntu SMP Sat Oct 11 08:17:01 UTC 2025 x86_64
Server Software :
Apache/2.4.52 (Ubuntu)
PHP Version :
8.1.29
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
doc
/
node-bind-obj-methods
/
Edit File:
README.md
# bind-obj-methods Bind methods to an object from that object or some other source. Optionally specify a set of methods to skip over. Also binds non-enumerable methods, retaining their non-enumerable-ness. ## API `bindObjMethods(obj, [source], [omit])` Bind all the methods from source onto obj, skipping over anything in the `omit` list. `omit` can be either an array or an object of boolean values. `source` defaults to `obj` if not specified. ## USAGE ```js var bindObjMethods = require('bind-obj-methods') var obj = { method: () => this.foo, foo: 'bar' } var m = obj.method m() // undefined bindObjMethods(obj) m = obj.method m() // 'bar' ```
Simpan