tc39 / proposal-intl-segmenter

Unicode text segmentation for ECMAScript
https://tc39.github.io/proposal-intl-segmenter/
146 stars 16 forks source link

Confusing fragment in README.md #129

Closed vsemozhetbyt closed 4 years ago

vsemozhetbyt commented 4 years ago

...and Symbols, BigInts, undefined, and NaN fail.

"fail" seems a bit unclear. According to spec and my tests in the last Chrome Canary, Symbols and BigInts trow TypeError, while undefined and NaN result in the same segment as 0 index.