Function js_sys::global

source ·
pub fn global() -> Object
Expand description

Returns a handle to the global scope object.

This allows access to the global properties and global names by accessing the Object returned.