How to declare an array of byte in Javascript
<p>I am doing server-side javascript and i need to have a typed array of byte of a certain size.
I tried :</p>

<pre><code>var buf = [1024]; (guives me Cannot convert org.mozilla.javascript.NativeArray@1e565bd to byte[] error)
var buf = byte[1024]; (wrong synthax)
</code></pre>

<p>What is the synthax?</p>
