Today I Learned

2022/06/02

js

How to create a JS BigInt value:

A BigInt value, also sometimes just called a BigInt, is a bigint primitive, created by appending n to the end of an integer literal, or by calling the BigInt() constructor (but without the new operator) and giving it an integer value or string value. – https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt