Constructs the target with the elements of specified array as the arguments and the specified constructor as the new.target value.
new.target
The constructor to invoke.
Rest
An array of argument values to be passed to the constructor.
Optional
The constructor to be used as the new.target object.
Constructs the target with the elements of specified array as the arguments and the specified constructor as the
new.target
value.