CodeQL library for JavaScript/TypeScript
codeql/javascript-all 2.6.6 (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)