Skip to content

Remove confusing paragraph#37596

Merged
Josh-Cena merged 1 commit intomdn:mainfrom
maksverver:patch-2
Jan 10, 2025
Merged

Remove confusing paragraph#37596
Josh-Cena merged 1 commit intomdn:mainfrom
maksverver:patch-2

Conversation

@maksverver
Copy link
Copy Markdown
Contributor

Description

I removed a paragraph that doesn't seem to convey any useful information.

Motivation

Good documentation is concise.

Additional details

If I'm wrong, I hope someone can explain what the purpose of this paragraph is, and how it's likely to help the reader.

To clarify, I don't understand what “comparing range and text” is supposed to mean, and why anyone would imagine using alert dialogs is an effective way of accomplishing this task. Without that context, the remark that “Alerting the contents of a Range makes an implicit toString() call” is superfluous, because that's what alert() always does.

Related issues and pull requests

None.

@maksverver maksverver requested a review from a team as a code owner January 10, 2025 19:53
@maksverver maksverver requested review from wbamberg and removed request for a team January 10, 2025 19:53
@github-actions github-actions bot added Content:WebAPI Web API docs size/xs [PR only] 0-5 LoC changed labels Jan 10, 2025
@github-actions
Copy link
Copy Markdown
Contributor

Preview URLs

Copy link
Copy Markdown
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.

I suppose this remark was made in ancient times, when people were still using alert() as a normal debugging device. The time has passed and we no longer do that.

@Josh-Cena Josh-Cena merged commit 0670297 into mdn:main Jan 10, 2025
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