mirror of
https://github.com/ruanyf/es6tutorial.git
synced 2025-05-29 13:52:22 +00:00
edit (fix typo) in arraybuff.md
This commit is contained in:
parent
073ec29193
commit
508ad08def
@ -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