Update article.md
This commit is contained in:
parent
28a514a0d7
commit
52f36e4e8a
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ To activate more capabilities, let's add traps.
|
|||
|
||||
What can we intercept by them?
|
||||
|
||||
For most operations on objects, there's a so-called "internal method" in JavaScript specificaiton, that describes on the lowest level, how it works. For instance, `[[Get]]` - the internal method to read a property, `[[Set]]` -- the internal method to write a property, and so on. These methods are only used in the specification, we can't them directly by name.
|
||||
For most operations on objects, there's a so-called "internal method" in JavaScript specificaiton, that describes on the lowest level, how it works. For instance, `[[Get]]` - the internal method to read a property, `[[Set]]` -- the internal method to write a property, and so on. These methods are only used in the specification, we can't call them directly by name.
|
||||
|
||||
Proxy traps inercept invocations of these methods. They are listed in [Proxy specification](https://tc39.es/ecma262/#sec-proxy-object-internal-methods-and-internal-slots) and in the table below.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue