Function chakracore_sys::JsSetProperty [] [src]

pub unsafe extern "system" fn JsSetProperty(
    object: JsValueRef,
    propertyId: JsPropertyIdRef,
    value: JsValueRef,
    useStrictRules: bool
) -> JsErrorCode

Puts an object's property. Requires an active script context. The object that contains the property. The ID of the property. The new value of the property. The property set should follow strict mode rules. The code JsNoError if the operation succeeded, a failure code otherwise.