Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support the BigInt global #415

Closed
AlexGustafsson opened this issue Jan 9, 2020 · 0 comments
Closed

Support the BigInt global #415

AlexGustafsson opened this issue Jan 9, 2020 · 0 comments

Comments

@AlexGustafsson
Copy link

Using the rather new addition BigInt, XO complains about it being undefined. The feature has been at stage 4 since late September 2019 and many browsers and node versions support it.

Example:

const n = BigInt(5);
✖   1:9    BigInt is not defined.             no-undef

The BigInt literal syntax (5n) works, however.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant