CodeQL library for JavaScript/TypeScript
codeql/javascript-all 0.8.14 (changelog, source)
Search

Predicate getAnEnumeratedArrayElement

Gets a node that refers to an element of array, likely obtained as a result of enumerating the elements of the array.

Import path

import semmle.javascript.DynamicPropertyAccess
SourceNode getAnEnumeratedArrayElement(SourceNode array)