Function JSObject.callAsContructor

Calls this Object as a constructor.

JSObject callAsContructor (
  JSObject target,
  JSValue[] params...
);

Parameters

NameDescription
targetA reference to the Object that has this constructor
paramsThe parameter values to pass to the constructor