我们将这些空间称为作用域对象(Scope object),有时候也称作LexicalEnvironment。例如,当你调用函数时,函数定义了一些本地变量,这些变量就被存储在一个作用域对象中。
基于20个网页-相关网页
更多的规则定义了作用域内存中的对象何时终结,以及何时可以重用内存区域。
More rules define when the objects in a scope memory are finalized and when the memory area can be reused.
某个自定义作用域通常与能够管理对象实例的后端存储相对应。
A custom scope typically corresponds to a backing store that can manage object instances.
这些规则控制了作用域之间的许可关系,以及作用域中的对象对其他内存区域中的对象的引用。
These rules control both the relationships allowed between scopes and the allowed references from an object in a scope to objects in other memory areas.
应用推荐