callAsConstructorVarArgs<R extends JSObject> method

R callAsConstructorVarArgs<R extends JSObject>(
  1. [List<JSAny?>? arguments]
)

Calls this JSFunction as a constructor with a variable number of arguments.

Returns the constructed JSObject, which must be an R.

Implementation

R callAsConstructorVarArgs<R extends JSObject>([List<JSAny?>? arguments]) =>
    _callAsConstructorVarArgs(arguments) as R;