Files
scriptc/tests/corpus/string-normalize.ts
Chris Tate a07998f667 Expand static three.js workflows and host integration (#621)
* Expand static three.js workflows and host integration

* Preserve JavaScript class state in static three.js workflows

* Preserve inferred JavaScript behavior across static workflows

* Preserve inferred callables and native compatibility boundaries

* Retain annotated JavaScript factory exports and bootstrap-safe call spreads

* Preserve Buffer and child callback identities in static packages

* Clarify JavaScript symbol spread support
2026-10-02 19:56:34 -05:00

7 lines
392 B
TypeScript

for (const form of ['NFC', 'NFD', 'NFKC', 'NFKD']) {
console.log(form, 'e\u0301 Å ffi ① 한 😀'.normalize(form));
}
console.log('default', 'e\u0301'.normalize(), 'e\u0301'.normalize(undefined));
console.log('empty', ''.normalize(), 'already', 'café'.normalize());
try { 'hello'.normalize('bad'); } catch (error) { if (error instanceof Error) console.log(error.name, error.message); }