Function mozjs::jsapi::JS_GetPrototype

source ·
pub unsafe extern "C" fn JS_GetPrototype(
    cx: *mut JSContext,
    obj: Handle<*mut JSObject>,
    result: MutableHandle<*mut JSObject>
) -> bool
Expand description

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

Implements: ES6 [[GetPrototypeOf]] internal method.