Compare with loose mode enabled
compareLoose('1.2.3', '1.2.3') // 0 Copy
compareLoose('1.2.3', '1.2.3') // 0
build identifier ([+BUILD]) is not taken into account
[+BUILD]
first version string
second version string
0
v1
v2
1
-1
Compare with loose mode enabled
Example
Remarks
build identifier (
[+BUILD]
) is not taken into account