fetch语义错误

This commit is contained in:
lihln
2017-09-28 18:15:58 +08:00
parent 2585e72712
commit f3dbf39b9c
2 changed files with 24 additions and 3 deletions
+2 -2
View File
@@ -894,8 +894,8 @@ Fetch API取回的数据,就是`ArrayBuffer`对象。
```javascript
fetch(url)
.then(function(request){
return request.arrayBuffer()
.then(function(response){
return response.arrayBuffer()
})
.then(function(arrayBuffer){
// ...