+ 1
"2" > "12"
Why it is true? If checking number 2 > 12 false. If checking length "2" > "12" false. What's is checking? Order? (Like "b" goes after "a" so b > a?).
2 Answers
0
Something didn't get so clear.
And if
"55" > "5"
codePoint(0) are the same.
But then one have 1 index and other no. So got null or \0 or something else?
Ps: I will code it to see, but for now I'm away from my computer. If you can help me.