JsNativeConstructor Delegate

The implementation of a constructor of the host: newTarget is null for [[Call]], and the new.target of [[Construct]] otherwise.

public delegate JsValue JsNativeConstructor(JsValue thisValue, ReadOnlySpan<JsValue> arguments, JsObject? newTarget)

Parameters

thisValue JsValue
arguments ReadOnlySpan<JsValue>
newTarget JsObject?