Skip to content

Commit 4ea4c86

Browse files
authored
Update primitive.rst
1 parent 79c4ad6 commit 4ea4c86

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

primitive.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ TypeScript(というか、その下で動作しているJavaScript)は64ビ
126126
* 16
127127
* 16
128128
* radixが16以外は0
129-
* 8 (8進数)
129+
* 16 (16進数)
130130
- * "0o10"
131131
* 8
132132
* 0
@@ -136,7 +136,7 @@ TypeScript(というか、その下で動作しているJavaScript)は64ビ
136136
* 2
137137
* 0
138138
* 0
139-
* 2 (8進数)
139+
* 2 (2進数)
140140

141141
なお、リテラルの8進数ですが、ESLintの推奨設定を行うと ``no-octal`` というオプションが有効になります。このフラグが有効だと、8進数を使用すると警告になります。
142142

0 commit comments

Comments
 (0)