Skip to content

Commit ee280cd

Browse files
Stephan Brandauerasgerf
andauthored
Improve docs after PR comment
Co-authored-by: Asger F <[email protected]>
1 parent 4964f2d commit ee280cd

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

javascript/ql/lib/semmle/javascript/dataflow/internal/FlowSteps.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ private module CachedSteps {
270270
* Gets a data-flow node that refers to the `i`th parameter of `f` through its `...rest` argument.
271271
*
272272
* If there is normal arguments before `...rest`, we have to account for them.
273-
* Eg., a function `function f(a, ...rest) { console.log(rest[1]); }`:
273+
* For example, a function `function f(a, ...rest) { console.log(rest[1]); }`:
274274
* Here, `restParameterAccess(_, 2)` will return `rest[1]`, because there is the leading
275275
* `a` parameter.
276276
*/

0 commit comments

Comments
 (0)