pub unsafe fn set_property(
context: *mut JSContext,
obj_ref: &QuickJsValueAdapter,
prop_name: &str,
prop_ref: &QuickJsValueAdapter,
) -> Result<(), JsError>
Expand description
set a property in an object, like obj[propName] = val;
ยงSafety
when passing a context ptr please be sure that the corresponding QuickJsContext is still active