construct

fun <T : ERROR CLASS: Symbol not found for JsAny, A : Tuple> construct(target: ConstructorFunction<A, T>, argumentsList: A): T(source)

Constructs the target with the elements of specified array as the arguments and the specified constructor as the new.target value.

Parameters

target

The constructor to invoke.

argumentsList

An array of argument values to be passed to the constructor.

MDN Reference


fun <T : ERROR CLASS: Symbol not found for JsAny> construct(target: JsClass<T>, argumentsList: ReadonlyArray<ERROR CLASS: Symbol not found for JsAny??>): T(source)