We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef694b5 commit 33ad20dCopy full SHA for 33ad20d
1-js/99-js-misc/05-bigint/article.md
@@ -29,7 +29,7 @@ alert(5n / 2n); // 2
29
В математических операциях мы не можем смешивать `bigint` и обычные числа:
30
31
```js run
32
-alert(1n + 2); // Error: Cannot mix bigint and other types
+alert(1n + 2); // Error: Cannot mix BigInt and other types
33
```
34
35
Мы должны явно их конвертировать: используя либо `BigInt()`, либо `Number()`, например:
0 commit comments