Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update 5-network/03-fetch-progress/article.md
Co-authored-by: joaquinelio <joaquinelio@gmail.com>
  • Loading branch information
omero329 and joaquinelio authored Oct 17, 2020
commit 4da7955e0a6d167d6b384799bb8379d3f58206cb
2 changes: 1 addition & 1 deletion 5-network/03-fetch-progress/article.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const reader = response.body.getReader();
const contentLength = +response.headers.get('Content-Length');

// Paso 3: leer los datos
let receivedLength = 0; // cantidad de bytes recibidos en este momento
let receivedLength = 0; // cantidad de bytes recibidos hasta el momento
let chunks = []; // matriz de fragmentos binarios recibidos (comprende el cuerpo)
while(true) {
const {done, value} = await reader.read();
Expand Down