Fix enclosing-bracket bug that appeared in JS for loops

Previously, we were relying on the tree-sitter query's range restriction to
avoid returning brackets that did not contain the given range. But the
query's range restriction only guarantees that we don't descend into parent
nodes unless they intersect the range.
aeea47323aMax Brunsfeld committed on 11/23/2022, 9:37:22 PMparent5e76526
2 files changedLine totals unavailable