Can anyone explain me why this:
"Hello" > "World"
is returning false?
Can anyone explain me why this:
"Hello" > "World"
is returning false?
It compares them char by char, first it compares "H" > "W" and since that's false
. It returns false
.