#文章 #JS 使用 Intl.Segmenter 来获取可读性的文本词汇计数,而不是获取字符串的长度

https://blog.sangeeth.dev/posts/accurate-text-lengths-with-intl-segmenter-api/