title: Conversion Error : ArrayBuffer to Int16Array
body: <p>this should be straight forward, but I am not sure why I am getting the error, I am using constructor with ArrayBuffer as parameter as shown in <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int16Array" rel="nofollow">mdn</a>, but I am getting the error as invalid arguments, (p.s with dataview I have checked, the data is Int16 only)</p>
  
  <p>the code is:</p>
  
  <pre><code>        var view= DataView(arrayBuf);
          console.log('arrayBuf.byteLength : '+arrayBuf.byteLength);
          console.log('data at 0 : '+view.getInt16(0));
          console.log('data at 1 : '+view.getInt16(1));
          var int16arry = new Int16Array(arrayBuf);
  </code></pre>
  
  <p>the console output is:</p>
  
  <pre><code>"arrayBuf.byteLength : 117" 
  "data at 0 : 22720" 
  "data at 1 : -16315"
  Error: invalid arguments
  </code></pre>
  
  <p>what is my mistake?</p>