Function js::jsapi::JS_GetPrototype [] [src]

pub unsafe extern "C" fn JS_GetPrototype(
    cx: *mut JSContext,
    obj: HandleObject,
    result: MutableHandleObject
) -> bool

Get the prototype of obj, storing it in result.

Implements: ES6 [[GetPrototypeOf]] internal method.