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

Simplify Ajax call sample code on Fetch response #28202

Merged
merged 1 commit into from
Jul 26, 2023

Conversation

imcotton
Copy link
Contributor

Description

Trim out redundancy over async response handle on fetch.

Motivation

Overall a good practice dealing with async code.

Additional details

ref: https://eslint.org/docs/latest/rules/no-return-await

Related issues and pull requests

n/a

@imcotton imcotton requested a review from a team as a code owner July 26, 2023 21:53
@imcotton imcotton requested review from sideshowbarker and removed request for a team July 26, 2023 21:53
@github-actions github-actions bot added the Content:WebAPI Web API docs label Jul 26, 2023
@github-actions
Copy link
Contributor

Preview URLs

@sideshowbarker sideshowbarker merged commit d7951dc into mdn:main Jul 26, 2023
5 checks passed
@sideshowbarker
Copy link
Collaborator

Cotton, thanks much, and congrats on landing your first docs change here — welcome aboard 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Content:WebAPI Web API docs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants