Files
scriptc/tests/diagnostics/intl-segmenter.ts
T
Chris Tate f668fc4bfd Support native runtime values used by OpenTUI
- Add shared ArrayBuffer storage and native Unicode grapheme segmentation.
- Preserve builtin modules, globals, and byte views across JavaScript bindings.
- Compile package initialization expressions and optional native callables.
2026-09-28 19:01:50 -05:00

6 lines
254 B
TypeScript

// The native implementation covers default Unicode grapheme segmentation.
new Intl.Segmenter("en-US");
new Intl.Segmenter(undefined, { granularity: "word" });
new Intl.Segmenter(undefined, { granularity: "sentence" });
// End of the diagnostic fixture.