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 index.md #37356

Closed
wants to merge 1 commit into from
Closed

Update index.md #37356

wants to merge 1 commit into from

Conversation

andyrosa2
Copy link

minor grammar fix

will throw -> will throw an error

avoiding jargon

will throw -> will throw an error
@andyrosa2 andyrosa2 requested a review from a team as a code owner December 24, 2024 04:33
@andyrosa2 andyrosa2 requested review from sideshowbarker and removed request for a team December 24, 2024 04:33
@github-actions github-actions bot added Content:WebAPI Web API docs size/xs [PR only] 0-5 LoC changed labels Dec 24, 2024
Copy link
Member

@Josh-Cena Josh-Cena left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, but "throw" is a common verb used on MDN without the "an error" object. While we can certainly fix this sporadic case, we can neither fix all of them nor enforce it as a rule, so we've repeatedly made the decision for this that we should leave the choice to the writer's discretion and accept it as a valid form.

@Josh-Cena Josh-Cena closed this Dec 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Content:WebAPI Web API docs size/xs [PR only] 0-5 LoC changed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants