pub fn create_namespace_object(
    cx: JSContext,
    global: HandleObject<'_>,
    proto: HandleObject<'_>,
    class: &'static NamespaceObjectClass,
    methods: &[Guard<&'static [JSFunctionSpec]>],
    constants: &[Guard<&'static [ConstantSpec]>],
    name: &[u8],
    rval: MutableHandleObject<'_>
)
Expand description

Create a new namespace object.