We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
underscore.string
1 parent 9bca863 commit c256b9cCopy full SHA for c256b9c
javascript/ql/test/library-tests/TripleDot/underscore.string.js
@@ -33,3 +33,10 @@ function strToStr() {
33
sink(s.unquote(source("s30"), "quote")); // $ hasTaintFlow=s30
34
sink(s.map(source("s31"), (x) => {return x;})); // $ hasTaintFlow=s31
35
}
36
+
37
+function strToArray() {
38
+ sink(s.chop(source("s1"), 3)[0]); // $ MISSING: hasTaintFlow=s1
39
+ sink(s.chars(source("s2")[0])); // $ MISSING: hasTaintFlow=s2
40
+ sink(s.words(source("s3")[0])); // $ MISSING: hasTaintFlow=s3
41
+ sink(s.lines(source("s7")[0])); // $ MISSING: hasTaintFlow=s7
42
+}
0 commit comments