typeof for typed arrays is ?

Posted on
  • Just tested typeof for typed arrays in browser and on Espruino.
    Browser returns object and Espruino returns questionmark

    var x = new Array(2,3,4,5);
    var t = new Uint8Array([1, 2, 3, 4])
    console.log(typeof x,typeof t);
    
  • Oops. that doesn't look good.

    Just fixed it, so 1v82 will work correctly :)

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

typeof for typed arrays is ?

Posted by Avatar for JumJum @JumJum

Actions