Potential bug issues #18286
Answered
by
alexander-akait
geraldsamosir
asked this question in
Q&A
-
i want to confirm code on line 255 that is that code write like this if (typeof code === "bigint") { // here the code that i mention
return runtimeTemplate.supportsBigIntLiteral()
? `${code}n`
: `BigInt("${code}")`;
}
return code + "";
}; in javascript or EcmaSctipt and using bable transpailer that i know no data type "bigint" just modern data type like |
Beta Was this translation helpful? Give feedback.
Answered by
alexander-akait
Apr 8, 2024
Replies: 1 comment 2 replies
-
Sorry, it is not related to babel, we are about bigints |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can write
MY_CUSTOM_CODE: 1n
and it is a bigint