setConstructor method

void setConstructor(
  1. JSValue funcObj,
  2. JSValue proto
)

Implementation

void setConstructor(JSValue funcObj, JSValue proto) =>
    JS_SetConstructor(_ref, funcObj.ref.ref, proto.ref.ref);