This article covers features introduced in SpiderMonkey 17

Get the item of a JSIdArray.

Syntax

jsid
JS_IdArrayGet(JSContext *cx, JSIdArray *ida, unsigned index)
Name Type Description
cx JSContext * A context.
ida JSIdArray * The JSIdArray to get the length.
index unsigned The index of the id in the JSIdArray.

Description

JS_IdArrayGet gets the item in the specified index of the ID array pointed to by ida.

See Also