* Throws if the normalization %%form%% is not supported.
(form)
| 213 | * Throws if the normalization %%form%% is not supported. |
| 214 | */ |
| 215 | function assertNormalize(form) { |
| 216 | assert(_normalizeForms.indexOf(form) >= 0, "platform missing String.prototype.normalize", "UNSUPPORTED_OPERATION", { |
| 217 | operation: "String.prototype.normalize", info: { form } |
| 218 | }); |
| 219 | } |
| 220 | exports.assertNormalize = assertNormalize; |
| 221 | /** |
| 222 | * Many classes use file-scoped values to guard the constructor, |