Function mozjs_sys::jsapi::JS_GetPrototype

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

Get the prototype of |obj|, storing it in |proto|.

Implements: ES6 [[GetPrototypeOf]] internal method.