Skip to content

Commit 7d5e9f9

Browse files
authored
fix: incorrect type reference (#1322)
1 parent 580962c commit 7d5e9f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/basic/string/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ Unicodeでは1文字を表すのに使う最小限のビットの組み合わせ
215215

216216
次のコードは、文字列を構成するCode Unitをhex値(16進数)にして表示する例です。
217217
`String#charCodeAt`メソッドは、文字列の指定インデックスのCode Unitを整数として返します。
218-
そのCode Unitの整数値を`String#toString`メソッドでhex値(16進数)にしています。
218+
そのCode Unitの整数値を`Number#toString`メソッドでhex値(16進数)にしています。
219219

220220
{{book.console}}
221221
```js

0 commit comments

Comments
 (0)