Function javascriptcore_sys::JSObjectSetPropertyAtIndex [] [src]

pub unsafe extern "C" fn JSObjectSetPropertyAtIndex(
    ctx: JSContextRef,
    object: JSObjectRef,
    propertyIndex: c_uint,
    value: JSValueRef,
    exception: *mut JSValueRef
)

Sets a property on an object by numeric index.

Calling JSObjectSetPropertyAtIndex is equivalent to calling JSObjectSetProperty with a string containing propertyIndex, but JSObjectSetPropertyAtIndex provides optimized access to numeric properties.