pub fn define_on_global_object(
    cx: JSContext,
    global: HandleObject<'_>,
    name: &[u8],
    obj: HandleObject<'_>
)
Expand description

Define a property with a given name on the global object. Should be called through the resolve hook.