The abstract operation SetSpawnGlobalBindings with arguments realmRec, and globalNames performs the following steps:
The abstract operation CreateSpawnIntrinsics with arguments realmRec, parentIntrinsics, and intrinsicNames performs the following steps:
The creation of the intrinsics and their properties must be ordered to avoid any dependencies upon objects that have not yet been created.
Date
object has its now()
method removed and the Date Constructor should throw a TypeError
when called as a constructor or a function, rather than reveal the current time. An immutable root Math
object has its random()
method removed.
Realm.immutableRoot()
obtains an [[Prototype]]
is Object.prototype
, i.e., the %ObjectPrototype%
intrinsic of that immutable root Realm.immutableRoot()
always creates a fresh one, or always returns the same one. On any given implementation, it must either be always fresh or always the same.