BTW. try this code in JS (copy-paste) :)
console.log("A" == "");
prints "false" :)
String comparison means comparing character codes. In some fonts, different character codes have the same "pattern", for example, "l" and "I" (first L, second - i). In my example above, the first A is Cyrillic, the second is Latin.
source share