diff --git a/javascript/ql/src/Statements/MissingIndexAdjustmentAfterConcurrentModification.qhelp b/javascript/ql/src/Statements/MissingIndexAdjustmentAfterConcurrentModification.qhelp index 3340b919ce2..b682eab0688 100644 --- a/javascript/ql/src/Statements/MissingIndexAdjustmentAfterConcurrentModification.qhelp +++ b/javascript/ql/src/Statements/MissingIndexAdjustmentAfterConcurrentModification.qhelp @@ -38,7 +38,7 @@ Determine what the loop is supposed to do: In this example, a function is intended to remove ".." parts from a path:

- +

However, whenever the input contain two ".." parts right after one another, only the first will be removed. @@ -51,13 +51,13 @@ index 0 and will therefore be skipped. One way to avoid this is to decrement the loop counter after removing an element from the array:

- +

Alternatively, use the filter method:

- +