diff --git a/boa/src/exec/mod.rs b/boa/src/exec/mod.rs index cbe3e79ec1..c3c35469b7 100644 --- a/boa/src/exec/mod.rs +++ b/boa/src/exec/mod.rs @@ -113,6 +113,7 @@ impl Interpreter { &mut self.realm } + /// Retrieves the global object of the `Realm` of this executor. #[inline] pub(crate) fn global(&self) -> &Value { &self.realm.global_obj