Skip to content

Commit e39e850

Browse files
nassoalexcrichton
authored andcommitted
Update browser support for BigInt (#1728)
* Update browser support for `BigInt` `BigInt` is supported in Firefox as of Firefox 68! Also replaced Firefox with Safari as a second example of an unsupported browser. * Add link to "BigInt" on "Can I use..."
1 parent 5c56c02 commit e39e850

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

guide/src/reference/browser-support.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,10 @@ also like to be aware of it!
5858
forbids the usage of 64-bit integers (Rust types `i64` and `u64`) in
5959
exported/imported functions. When using `wasm-bindgen`, however, `u64` is
6060
allowed! The reason for this is that it's translated to the `BigInt` type in
61-
JS. The `BigInt` class, however, is only currently supported in Chrome (as of
62-
the time of this writing) and isn't supported in Firefox or Edge, for
63-
example.
61+
JS. The `BigInt` class, however, is only currently supported in Chrome 67+ and
62+
Firefox 68+ (as of the time of this writing) and isn't supported in Edge or
63+
Safari, for example. For more, up-to-date details, see [`BigInt` on Can I
64+
use...][ciu_bigint].
6465
6566
If you find other incompatibilities please report them to us! We'd love to
6667
either keep this list up-to-date or fix the underlying bugs :)
@@ -71,3 +72,4 @@ either keep this list up-to-date or fix the underlying bugs :)
7172
[`text-encoding`]: https://www.npmjs.com/package/text-encoding
7273
[soq]: https://stackoverflow.com/questions/40662142/polyfill-for-textdecoder/46549188#46549188
7374
[mdntepi]: https://developer.mozilla.org/en-US/docs/Web/API/TextEncoder#Polyfill
75+
[ciu_bigint]: https://caniuse.com/#feat=bigint

0 commit comments

Comments
 (0)