CodeQL library for JavaScript
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)