|
|
|
|
|
by xenadu02
3668 days ago
|
|
It's because there is no standard way to determine the properties of a unicode grapheme cluster in JavaScript. Otherwise you could do things like isDigit(), isNumeric(), isPunctuation(), isWhitespace(), etc. Or just ask directly isLetter(). A Grapheme cluster basically corresponds to what a human would consider a "single letter", including any combining marks, etc. |
|