Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 407 Bytes

no-bigint.md

File metadata and controls

19 lines (12 loc) · 407 Bytes

no-bigint

This prevents the use of BigInt numeric literals.

0n

These will not be allowed because they are not supported in the following browsers:

  • Edge < 79
  • Safari (any version at the time of writing)
  • Firefox < 68
  • Chrome < 67

What is the Fix?

There is currently no way to use BigInts while supporting these browsers. Babel does not currently having a transform for BigInt.