Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to make a bigint in javascript

let bigInt = 1n;	// Using language construct
let bigInt2 = BigInt(1);	// Using function

// Note: You cannot write new BigInt() because it is not a constructor
Source by www.smashingmagazine.com #
 
PREVIOUS NEXT
Tagged: #bigint #javascript
ADD COMMENT
Topic
Name
6+2 =