Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update fetch guide #34278

Merged
merged 14 commits into from
Jun 28, 2024
Prev Previous commit
Next Next commit
Update files/en-us/web/api/fetch_api/using_fetch/index.md
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
  • Loading branch information
wbamberg and Josh-Cena committed Jun 22, 2024
commit ac66077744f15bd72c61a1396c55893af1593500
2 changes: 1 addition & 1 deletion files/en-us/web/api/fetch_api/using_fetch/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@ async function* makeTextFileLineIterator(fileURL) {

if (startIndex < chunk.length) {
// Last line didn't end in a newline char
yield chunk.substr(startIndex);
yield chunk.substring(startIndex);
}
}

Expand Down