Skip to content

Commit 2189dc9

Browse files
committed
minor fixes
1 parent 4496439 commit 2189dc9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

1-js/99-js-misc/05-bigint/article.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,9 @@ if (0n) {
9191
Boolean operators, such as `||`, `&&` and others also work with bigints similar to numbers:
9292

9393
```js run
94-
alert( 1n || 2 ); // 1
94+
alert( 1n || 2 ); // 1 (1n is considered truthy)
9595

96-
alert( 0n || 2 ); // 2
96+
alert( 0n || 2 ); // 2 (0n is considered falsy)
9797
```
9898

9999
## Polyfills

0 commit comments

Comments
 (0)