JS: Handle array of sorting criteria

This commit is contained in:
Asger F
2025-02-18 16:58:04 +01:00
parent 7486742c37
commit 804a1a6cb0

View File

@@ -278,7 +278,11 @@ module LodashUnderscore {
override predicate propagatesFlow(string input, string output, boolean preservesValue) {
input = "Argument[0].ArrayElement" and
output = ["Argument[1].Parameter[0]", "ReturnValue.ArrayElement"] and
output =
[
"Argument[1].Parameter[0]", "Argument[1].ArrayElement.Parameter[0]",
"ReturnValue.ArrayElement"
] and
preservesValue = true
}
}