Javascript: How can I filter some dataflow results?
Offen
JS
question
- Vorherrschende Sprache
- CodeQL
- Sterne
- 10.1k
- Forks
- 2.1k
- Ø Merge
- 2 T. 15 Std.
- Gemergte PRs (30 T.)
- 141
Beschreibung
Example:
```
var a = request.body;
var obj = {
"body": a.a;
"headers": a.b
}
foo(obj)
```
while I query the above code, there are two flow path:
```
1. a -> obj.body -> foo
2. a -> obj.headers -> foo
```
And I would like to show result 1 only, and filter result 2.
How can I solve the problem? Thanks
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.