mirror of
https://github.com/ruanyf/es6tutorial.git
synced 2025-05-25 03:02:21 +00:00
Merge pull request #250 from 7sDream/patch-1
edit (fix typo) in arraybuff.md
This commit is contained in:
commit
b426312fa6
@ -629,9 +629,9 @@ let tarr = Uint8Array.of(1,2,3);
|
|||||||
|
|
||||||
// 方法三
|
// 方法三
|
||||||
let tarr = new Uint8Array(3);
|
let tarr = new Uint8Array(3);
|
||||||
tarr[0] = 0;
|
tarr[0] = 1;
|
||||||
tarr[1] = 1;
|
tarr[1] = 2;
|
||||||
tarr[2] = 2;
|
tarr[2] = 3;
|
||||||
```
|
```
|
||||||
|
|
||||||
### TypedArray.from()
|
### TypedArray.from()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user