(form: string)
| 771 | * Throws if the normalization %%form%% is not supported. |
| 772 | */ |
| 773 | export function assertNormalize(form: string): void { |
| 774 | assert(_normalizeForms.indexOf(form) >= 0, "platform missing String.prototype.normalize", "UNSUPPORTED_OPERATION", { |
| 775 | operation: "String.prototype.normalize", info: { form } |
| 776 | }); |
| 777 | } |
| 778 | |
| 779 | /** |
| 780 | * Many classes use file-scoped values to guard the constructor, |