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:
commit
b426312fa6
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user