summaryrefslogtreecommitdiff
path: root/tools/eslint/node_modules/concat-stream/node_modules/typedarray/example/tarray.js
diff options
context:
space:
mode:
Diffstat (limited to 'tools/eslint/node_modules/concat-stream/node_modules/typedarray/example/tarray.js')
-rw-r--r--tools/eslint/node_modules/concat-stream/node_modules/typedarray/example/tarray.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/eslint/node_modules/concat-stream/node_modules/typedarray/example/tarray.js b/tools/eslint/node_modules/concat-stream/node_modules/typedarray/example/tarray.js
new file mode 100644
index 0000000000..8423d7c9b1
--- /dev/null
+++ b/tools/eslint/node_modules/concat-stream/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]);