Get to know MDN better
このページはコミュニティーの尽力で英語から翻訳されました。MDN Web Docs コミュニティーについてもっと知り、仲間になるにはこちらから。
JavaScript の例外 "form must be one of 'NFC', 'NFD', 'NFKC', or 'NFKD'" は、String.prototype.normalize() メソッドに認識できない文字列が渡されたときに発生します。
String.prototype.normalize() メソッドの form 引数として指定できる値は、"NFC"、"NFD"、"NFKC"、"NFKD" の 4 つだけです。これ以外の値を渡すとエラーが発生します。各正規化形式の違いについては、normalize() のリファレンスを参照してください。
This page was last modified on 2026年4月15日 by MDN contributors.
Your blueprint for a better internet.
Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2026 by individual mozilla.org contributors. Content available under a Creative Commons license.