codeql/javascript-all 3.0.2 (changelog, source)IndexSearchPrimitive predicate string::prefix
Returns the substring of the receiver ending at the given 0-based exclusive offset
string prefix(int endPos)Source: https://codeql.github.com/codeql-standard-libraries/javascript/predicate.string$prefix.1.html