projects
/
yaffs-website
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Upgraded drupal core with security updates
[yaffs-website]
/
node_modules
/
typedarray
/
test
/
tarray.js
1
var TA = require('../');
2
var test = require('tape');
3
4
test('tiny u8a test', function (t) {
5
var ua = new(TA.Uint8Array)(5);
6
t.equal(ua.length, 5);
7
ua[1] = 256 + 55;
8
t.equal(ua[1], 55);
9
t.end();
10
});