Compare two identifiers.
compareIdentifiers('3', '6') // -1compareIdentifiers('s6g1', '6df4') // 1 Copy
compareIdentifiers('3', '6') // -1compareIdentifiers('s6g1', '6df4') // 1
first identifier
second identifier
0
v1
v2
1
-1
Compare two identifiers.
Example