UNPKG
trainingproject
Version:
latest (1.0.0)
1.0.0
A module to teach you how to module.
github.com/npm/how-to-npm
npm/how-to-npm
trainingproject
/
node_modules
/
typedarray
/
example
/
tarray.js
5 lines
(4 loc)
•
110 B
JavaScript
View Raw
1
2
3
4
5
var
Uint8Array
=
require
(
'../'
).
Uint8Array
;
var
ua =
new
Uint8Array
(
5
); ua[
1
] =
256
+
55
;
console
.
log
(ua[
1
]);