pub(crate) unsafe fn ensure_expando_object(
cx: *mut JSContext,
obj: HandleObject,
expando: MutableHandleObject<'_>,
)
Expand description
Get the expando object, or create it if it doesn’t exist yet. Fails on JSAPI failure.
§Safety
cx
must point to a valid, non-null JSContext.