Created
May 31, 2016 08:57
-
-
Save TikiTDO/e614b8dfb311eca7dd9a4eb3df6ccbae to your computer and use it in GitHub Desktop.
All the handlers for a JS proxy object
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| new Proxy {}, | |
| getPrototypeOf: (target) -> | |
| return | |
| setPrototypeOf: (target, prototype) -> | |
| return | |
| isExtensible: (target) -> | |
| return | |
| preventExtensions: (target) -> | |
| return | |
| getOwnPropertyDescriptor: (target, prop) -> | |
| return | |
| defineProperty: (target, prop, descriptor) -> | |
| return | |
| has: (target, prop) -> | |
| return | |
| get: (target, prop, receiver) -> | |
| return | |
| set: (target, prop, value, receiver) -> | |
| return | |
| deleteProperty: (target, prop) -> | |
| return | |
| ownKeys: (target) -> | |
| return | |
| apply: (target, this_arg, argument_list) -> | |
| return | |
| construct: (target, argument_list, new_target) -> | |
| return |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment