title: Passing Arrays to blazors IJSRuntime.InvokeAsync
body: <p>I wonder what is the best way to pass an array to <code>IJSRuntime.InvokeAsync</code>.<br />
  The problem I stumbled upon is that blazor will pass each element of the array as a parameter to the javascript function since InvokeAsync has an open parameter list and will not know if you just passed arguments of the same type or an array.</p>
  <p>For now I just go with a second parameter like <code>InvokeAsync(&quot;functionname&quot;, array, false)</code>.</p>
  <p>Any other suggestions? Better solutions?</p>