aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/api/readablestream
diff options
context:
space:
mode:
authorrenmu123 <1101022351@qq.com>2021-02-18 15:12:50 +0800
committerGitHub <noreply@github.com>2021-02-18 15:12:50 +0800
commitc0959d6dfdb1ceb0faf5e34db967bd1b98dfb8b5 (patch)
tree0b701dd3cc72c774708dde3feff9ad1a592f2c45 /files/zh-cn/web/api/readablestream
parent10701ffef1cb57f06970990b9b7086ea7f24a019 (diff)
downloadtranslated-content-c0959d6dfdb1ceb0faf5e34db967bd1b98dfb8b5.tar.gz
translated-content-c0959d6dfdb1ceb0faf5e34db967bd1b98dfb8b5.tar.bz2
translated-content-c0959d6dfdb1ceb0faf5e34db967bd1b98dfb8b5.zip
fix typo
change Unit8Array to Uint8Array
Diffstat (limited to 'files/zh-cn/web/api/readablestream')
-rw-r--r--files/zh-cn/web/api/readablestream/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/zh-cn/web/api/readablestream/index.html b/files/zh-cn/web/api/readablestream/index.html
index 445fc134d1..166da23de2 100644
--- a/files/zh-cn/web/api/readablestream/index.html
+++ b/files/zh-cn/web/api/readablestream/index.html
@@ -64,7 +64,7 @@ translation_of: Web/API/ReadableStream
start(controller) {
// 下面的函数处理每个数据块
function push() {
- // "done"是一个布尔型,"value"是一个Unit8Array
+ // "done"是一个布尔型,"value"是一个Uint8Array
reader.read().then(({ done, value }) =&gt; {
// 判断是否还有可读的数据?
if (done) {