The bold code in the Range.includes method seems redundant. #5797
jss-less-step
started this conversation in
General
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The bold code in the Range.includes method seems redundant. From the code logic, the Range.includes method seems to determine whether the range and target have an intersection。
This part of the code seems to be a looser limit, as long as the anchor or focus is between the ranges,and the code selected in the box seems to be unable to be executed
![Uploading image.png…]()
Beta Was this translation helpful? Give feedback.
All reactions