We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4496439 commit 2189dc9Copy full SHA for 2189dc9
1-js/99-js-misc/05-bigint/article.md
@@ -91,9 +91,9 @@ if (0n) {
91
Boolean operators, such as `||`, `&&` and others also work with bigints similar to numbers:
92
93
```js run
94
-alert( 1n || 2 ); // 1
+alert( 1n || 2 ); // 1 (1n is considered truthy)
95
96
-alert( 0n || 2 ); // 2
+alert( 0n || 2 ); // 2 (0n is considered falsy)
97
```
98
99
## Polyfills
0 commit comments