👁 View: tarray.js
Path: /home/thiqat5/mv2.thiqatech.com/node_modules/typedarray/test/tarray.js
Size: 217 B · Modified: 2022-09-25 05:25:55 · Perm: 0755 · Writable
var TA = require('../');
var test = require('tape');

test('tiny u8a test', function (t) {
    var ua = new(TA.Uint8Array)(5);
    t.equal(ua.length, 5);
    ua[1] = 256 + 55;
    t.equal(ua[1], 55);
    t.end();
});