Facilitating the Spread of Knowledge and Innovation in Professional Software Development

Write for InfoQ

### Topics

InfoQ Homepage News Firefox 68 with BigInt, Extended Dark Mode, and Curated Extensions

# Firefox 68 with BigInt, Extended Dark Mode, and Curated Extensions

This item in japanese

Lire ce contenu en français

Firefox 68 was recently released to web users. Firefox 68 supports big integers , expanded Dark Mode, improved extension security and discovery, and more.

Firefox 68 newly supports JavaScript’s new BigInt numeric type. As described on MDN, BigInt is a TC39 stage-3 proposal that provides a way to represent whole numbers larger than 2^53 - 1, which is the largest number JavaScript can reliably represent with the Number primitive. A BigInt is created by appending n to the end of an integer literal — 10n — or by calling the function BigInt().

BigInt enables developers to work accurately with very large numbers. While 2 ** 53 + 1 would erroneously evaluate to 9007199254740992 (the number is odd, thus cannot end with the digit 2), the following 2n ** 53n +1n correctly evaluates to 9007199254740993n. Limitations of these sorts is one reason why Twitter’s JSON API returns Tweet IDs as strings instead of literal numbers.

Additionally, Firefox Dark Mode expands its target area with blackout shades in Firefox Reader View. Firefox 68’s release note provides the explanatory illustration:

Mozilla also provides with Firefox 68 a curated list of high quality, secure extensions via the Recommended Extensions program, to be accessed through the Firefox Add-ons Manager (about:addons).

The Firefox 68 for desktop changelog describes in detail the full list of changes.

Style

## Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p