pub unsafe fn define_properties(
    cx: *mut JSContext,
    obj: HandleObject<'_>,
    properties: &'static [JSPropertySpec],
) -> Result<(), ()>pub unsafe fn define_properties(
    cx: *mut JSContext,
    obj: HandleObject<'_>,
    properties: &'static [JSPropertySpec],
) -> Result<(), ()>