js quiz: why does the first one fail?
1. ϲοnѕοlе.lοg('hеllο')
2. console.log('hello')
1. ϲοnѕοlе.lοg('hеllο')
2. console.log('hello')
Comments
ϲ: U+03F2 (Greek Lunate Sigma Symbol)
ο: U+03BF (Greek Small Letter Omicron)
n: U+006E (Latin Small Letter N)
ѕ: U+0455 (Cyrillic Small Letter Dze)
ο: U+03BF (Greek Small Letter Omicron)
l: U+006C (Latin Small Letter L)
е: U+0435 (Cyrillic Small Letter E)
Didn't know about this tool, seems pretty useful for such edge cases
You can do this in java by copy pasting a Greek question mark (it’s a ; looking thing)
But we're stuck with it, because so many people use it.