Support BigInt literals

#1

Currently when you use BigInt literals, runkit will give you an syntax error: Identifier directly after number (1:1)

It is possible to workaround this issue with eval or by using the BigInt constructor but it would be nice to have this feature built into runkit.

BigInts are available in Node 10.4 and higher.

And the result field only shows BigInt {} instead of the value.

0 Likes

#2

Can you give us a screenshot, code or a way to reproduce this error?

0 Likes