projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Version 1
[yaffs-website]
/
node_modules
/
typedarray
/
example
/
tarray.js
diff --git a/node_modules/typedarray/example/tarray.js
b/node_modules/typedarray/example/tarray.js
new file mode 100644
(file)
index 0000000..
8423d7c
--- /dev/null
+++ b/
node_modules/typedarray/example/tarray.js
@@ -0,0
+1,4
@@
+var Uint8Array = require('../').Uint8Array;
+var ua = new Uint8Array(5);
+ua[1] = 256 + 55;
+console.log(ua[1]);