News

Unicode に関する情報は UTF-16 文字、Unicode コードポイント、書記素クラスター を参照してください。 charAt () は ブラケット記法 を使用して指定された位置の文字にアクセスするのにとても似ています。 主な違いは次の通りです。
The charAt() method of {{jsxref("String")}} values returns a new string consisting of the single UTF-16 code unit at the given index. charAt() always indexes the string as a sequence of UTF-16 code ...