#[unsafe(no_mangle)]pub unsafe extern "C" fn JS_DefinePropertyValue(
ctx: *mut JsContext,
this_obj: JsValue,
prop: Atom,
val: JsValue,
flags: c_int,
) -> c_intExpand description
JS_DefinePropertyValue: define a data property, consuming val.
§Safety
this_obj must be a live JSValue; val’s reference is consumed.