We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 326f1ee commit 5c870dbCopy full SHA for 5c870db
1-js/99-js-misc/06-bigint/article.md
@@ -54,8 +54,10 @@ alert(Number(bigint) + number); // 3
54
```js run
55
let bigint = 1n;
56
57
-alert( +bigint ); // SyntaxError: Unexpected identifier
+alert( +bigint ); // Ошибка!
58
```
59
+
60
+Мы должны использовать `Number()` для преобразования `bigint` к `number`.
61
````
62
63
## Операции сравнения
0 commit comments