Function js::jsapi::JS_SetPropertyById
[−]
[src]
pub unsafe extern "C" fn JS_SetPropertyById(
cx: *mut JSContext,
obj: HandleObject,
id: HandleId,
v: HandleValue
) -> bool
Perform the assignment obj[id] = v
.
This function performs non-strict assignment, so if the property is read-only, nothing happens and no error is thrown.