3 ms·
>'ß'.toLowerCase() // 'ss' "ß" >'ß'.toLowerCase() === 'SS'.toLowerCase() // true false >// Note the Turkish dotless i >'John@Gıthub.com'.toUpperCase()
by angst 7y ago
>'ß'.toLowerCase() // 'ss'
"ß"
>'ß'.toLowerCase() === 'SS'.toLowerCase() // true
false
>// Note the Turkish dotless i
>'John@Gıthub.com'.toUpperCase() ===
'John@Github.com'.toUpperCase()
true
Chrome 79.0.3945.79 (Windows, 64bit) seems to differ from the proposed results for the first two statements. If the proposed results are what should indeed happen by unicode standard then I wonder chrome is not fully implementing them?