Could someone explain how does JS compare alphanumeric strings? For ex. why the following returns me 'false' when I run it in browser console:
'abc' > 'abc.15' // false
And why this returns 'true':
'abcd' > 'abc.15' // true
Could someone explain how does JS compare alphanumeric strings? For ex. why the following returns me 'false' when I run it in browser console:
'abc' > 'abc.15' // false
And why this returns 'true':
'abcd' > 'abc.15' // true