Last updated 1 year ago
JS ⟩ value ⟩ object ⟩ property ⟩ internal property
for most operations on objects, there’s an “internal method” in the JS spec that describes how it works at the lowest level. For instance:
[[Get]] - internal method to read a property
-
[[Set]] - internal method to write a property
these methods are only used in the spec, we can’t call them directly
( not) every function supports the [[Call]] internal method.
every constructor supports the [[Construct]] internal method.
callable vs. constructable
[[Environment]] - lexical environment where a function was made.
[[HomeObject]]
Proxy
mixin uses internal methods to get/set properties.
JS.info ⟩ Proxy and Reflect