#[unsafe(no_mangle)]pub unsafe extern "C" fn JS_DefinePropertyValueValue(
ctx: *mut JsContext,
this_obj: JsValue,
prop: JsValue,
val: JsValue,
flags: c_int,
) -> c_intExpand description
JS_DefinePropertyValueValue: the same, keyed by a value (ToPropertyKey on it).
§Safety
Both values must be live; prop’s and val’s references are consumed.