pub unsafe extern "C" fn JSObjectGetPrototype(
    ctx: JSContextRef,
    object: JSObjectRef
) -> JSValueRef
Expand description

Gets an object’s prototype.

  • ctx: The execution context to use.
  • object: A JSObject whose prototype you want to get.

Returns a JSValue that is the object’s prototype.