Merge pull request #2121 from zzy0302/master

PR for issues/2119
This commit is contained in:
Ilya Kantor 2020-09-23 15:36:50 +03:00 committed by GitHub
commit 26505f3d15
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -81,10 +81,13 @@ const bigInt = 1234567890123456789012345678901234567890n;
As `BigInt` numbers are rarely needed, we don't cover them here, but devoted them a separate chapter <info:bigint>. Read it when you need such big numbers.
```smart header="Compatibility issues"
Right now `BigInt` is supported in Firefox/Chrome/Edge, but not in Safari/IE.
Right now, `BigInt` is supported in Firefox/Chrome/Edge/Safari, but not in IE.
```
You can check [*MDN* BigInt compatibility table](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt#Browser_compatibility) to know which versions of a browser are supported.
## String
A string in JavaScript must be surrounded by quotes.