Function script::dom::bindings::import::module::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.