Skip to content

Commit

Permalink
updateSelection: make more intuitive (#36834)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikecat authored Nov 18, 2024
1 parent 7d7b014 commit ab5aa44
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions files/en-us/web/api/editcontext/updateselection/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ If the `start` and `end` values are the same, the selection is equivalent to a c
### Exceptions

- If only one argument is provided, a `TypeError` {{domxref("DOMException")}} is thrown.
- If either argument is not a positive number, a {{domxref("DOMException")}} is thrown.
- If `start` is greater than `end`, a {{domxref("DOMException")}} is thrown.
- If either argument is not a non-negative number, a {{domxref("DOMException")}} is thrown.

## Examples

Expand Down

0 comments on commit ab5aa44

Please sign in to comment.