From f32118c8b036427530680286bd45b7d4c884b541 Mon Sep 17 00:00:00 2001 From: Michael An <2331806369@qq.com> Date: Wed, 7 Aug 2019 15:43:38 +0800 Subject: [PATCH] Update xmlhttprequest.md --- docs/bom/xmlhttprequest.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/bom/xmlhttprequest.md b/docs/bom/xmlhttprequest.md index e8c70ce..be0ee13 100644 --- a/docs/bom/xmlhttprequest.md +++ b/docs/bom/xmlhttprequest.md @@ -181,7 +181,7 @@ xhr.responseType = 'arraybuffer'; xhr.onload = function(e) { var uInt8Array = new Uint8Array(this.response); - for (var i = 0, len = binStr.length; i < len; ++i) { + for (var i = 0, len = uInt8Array.length; i < len; ++i) { // var byte = uInt8Array[i]; } };