minor fixes

This commit is contained in:
Ilya Kantor 2019-12-01 13:51:05 +03:00
parent 44964399e1
commit 2189dc9a4c

View file

@ -91,9 +91,9 @@ if (0n) {
Boolean operators, such as `||`, `&&` and others also work with bigints similar to numbers: Boolean operators, such as `||`, `&&` and others also work with bigints similar to numbers:
```js run ```js run
alert( 1n || 2 ); // 1 alert( 1n || 2 ); // 1 (1n is considered truthy)
alert( 0n || 2 ); // 2 alert( 0n || 2 ); // 2 (0n is considered falsy)
``` ```
## Polyfills ## Polyfills