mirror of
https://github.com/github/codeql.git
synced 2026-04-30 11:15:13 +02:00
Update docs/language/learn-ql/javascript/type-tracking.rst
Co-Authored-By: jf205 <42464962+jf205@users.noreply.github.com>
This commit is contained in:
@@ -347,7 +347,7 @@ all functions that flow into the ``once()`` call.
|
||||
Backwards type tracking is not too different from forwards type tracking. The differences are:
|
||||
|
||||
- The ``TypeTracker`` parameter instead has type ``TypeBackTracker``.
|
||||
- The call to ``.track()`` is instead a call to ``.backtrack()``
|
||||
- The call to ``.track()`` is instead a call to ``.backtrack()``.
|
||||
- To ensure the initial value is a source node, a call to ``getALocalSource()`` is usually required.
|
||||
|
||||
.. code-block:: ql
|
||||
|
||||
Reference in New Issue
Block a user