Update javascript/ql/lib/semmle/javascript/ApiGraphs.qll

Co-authored-by: Calum Grant <42069085+calumgrant@users.noreply.github.com>
This commit is contained in:
Asger F
2022-03-30 15:59:47 +02:00
parent 73baa49c5d
commit a7b73f44b2

View File

@@ -106,7 +106,7 @@ module API {
* });
* ```
* If `foo` calls `myMethod` on its first parameter, either of the `myMethod` implementations will be invoked.
* An indeed, the access path `API::moduleImport("foo").getParameter(0).getMember("myMethod").getParameter(0)` correctly
* And indeed, the access path `API::moduleImport("foo").getParameter(0).getMember("myMethod").getParameter(0)` correctly
* identifies both `x` parameters.
*
* Observe how `getMember("myMethod")` behaves when the member is defined via a getter. When thinking in code patterns,