1
0
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:
七秒不觉梦 2016-08-17 00:20:46 +08:00 committed by GitHub
parent 073ec29193
commit 508ad08def

View File

@ -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()