Value.constructorCall

javascriptcore.value.Value constructorCall(javascriptcore.value.Value[] parameters = null)

Invoke <function>new</function> with constructor referenced by value. If n_parameters is 0 no parameters will be passed to the constructor.

Parameters

parametersthe #JSCValue<!-- -->s to pass as parameters to the constructor, or null

Returns

a #JSCValue referencing the newly created object instance.