mirror of
https://github.com/github/codeql.git
synced 2026-04-30 11:15:13 +02:00
Improve docs after PR comment
Co-authored-by: Asger F <asgerf@github.com>
This commit is contained in:
committed by
GitHub
parent
4964f2df9a
commit
ee280cda32
@@ -270,7 +270,7 @@ private module CachedSteps {
|
||||
* Gets a data-flow node that refers to the `i`th parameter of `f` through its `...rest` argument.
|
||||
*
|
||||
* If there is normal arguments before `...rest`, we have to account for them.
|
||||
* Eg., a function `function f(a, ...rest) { console.log(rest[1]); }`:
|
||||
* For example, a function `function f(a, ...rest) { console.log(rest[1]); }`:
|
||||
* Here, `restParameterAccess(_, 2)` will return `rest[1]`, because there is the leading
|
||||
* `a` parameter.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user