Function quickjs_runtime::quickjs_utils::objects::set_property_q

source ยท
pub fn set_property_q(
    q_ctx: &QuickJsRealmAdapter,
    obj_ref: &QuickJsValueAdapter,
    prop_name: &str,
    prop_ref: &QuickJsValueAdapter,
) -> Result<(), JsError>
Expand description

set a property in an object, like obj[propName] = val;