Skip to content

Commit 7ba6995

Browse files
committed
JS: Clarify a comment
1 parent 1df69ec commit 7ba6995

File tree

1 file changed

+2
-1
lines changed
  • javascript/ql/lib/semmle/javascript/internal/flow_summaries

1 file changed

+2
-1
lines changed

javascript/ql/lib/semmle/javascript/internal/flow_summaries/Arrays.qll

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,8 @@ class Shift extends SummarizedCallable {
487487
input = "Argument[this].ArrayElement[0]" and
488488
output = "ReturnValue"
489489
or
490-
// ArrayElement[0] is not automatically converted to a taint step, so add it manually
490+
// ArrayElement[0] in the above summary is not automatically converted to a taint step, so manully add
491+
// one from the array to the return value.
491492
preservesValue = false and
492493
input = "Argument[this]" and
493494
output = "ReturnValue"

0 commit comments

Comments
 (0)