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

Predicate DataFlow::ContentSet::arrayElementKnown

A content set describing an access to array index n.

This content set reads from element n and the unknown element, and stores to index n.

For large values of n this has no result - see ContentSet::arrayElementFromInt.

Import path

import javascript
ContentSet arrayElementKnown(int n)