Compares two versions including build identifiers (the bit after + in the semantic version string).
+
Sorts in ascending order when passed to Array.sort().
Array.sort()
Optional
0
v1
v2
1
-1
6.1.0
Compares two versions including build identifiers (the bit after
+
in the semantic version string).Sorts in ascending order when passed to
Array.sort()
.