public JavaScriptValue CallFunction(params JavaScriptValue[] arguments)
{
JavaScriptValue returnReference;
if (arguments.Length > ushort.MaxValue)
{
throw new ArgumentOutOfRangeException("arguments");
}
Native.ThrowIfError(Native.JsCallFunction(this, arguments, (ushort)arguments.Length, out returnReference));
return returnReference;
}