1
0
mirror of https://github.com/ruanyf/es6tutorial.git synced 2025-05-24 18:32:22 +00:00

Merge pull request #250 from 7sDream/patch-1

edit (fix typo) in arraybuff.md
This commit is contained in:
Ruan YiFeng 2016-08-19 06:44:40 +08:00 committed by GitHub
commit b426312fa6

View File

@ -629,9 +629,9 @@ let tarr = Uint8Array.of(1,2,3);
// 方法三
let tarr = new Uint8Array(3);
tarr[0] = 0;
tarr[1] = 1;
tarr[2] = 2;
tarr[0] = 1;
tarr[1] = 2;
tarr[2] = 3;
```
### TypedArray.from()