mirror of
https://github.com/ruanyf/es6tutorial.git
synced 2024-04-21 12:32:22 +00:00
fetch语义错误
This commit is contained in:
+2
-2
@@ -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){
|
||||
// ...
|
||||
|
||||
Reference in New Issue
Block a user