pub unsafe extern "C-unwind" fn JSObjectGetPrototype(
ctx: JSContextRef,
object: JSObjectRef,
) -> JSValueRefAvailable on crate features
JSBase and JSObjectRef only.Expand description
Gets an object’s prototype.
Parameter ctx: The execution context to use.
Parameter object: A JSObject whose prototype you want to get.
Returns: A JSValue that is the object’s prototype.
§Safety
ctxmust be a valid pointer.objectmust be a valid pointer.