Function

JSObjectGetPrototype

Gets an object’s prototype.

Declaration

JSValueRef JSObjectGetPrototype(JSContextRef ctx, JSObjectRef object);

Parameters

ctx

The execution context to use.

object

A JSObject whose prototype you want to get.

Return Value

A JSValue that is the object's prototype.