1n
is a BigintBigInt literal in JavaScript. BigintsBigInts currently display incorrectly/ don't display at all in the Stack Snippet console; console.log(1n)
logs nothing and console.log([1n])
logs [null]
instead of correctly displaying the BigintBigInt values 1n
and [1n]
.
Compared to an actual browser console, which logs the BigintBigInt value correctly both as-is and in an array:
Example Snippet:
console.log(1n) // logs nothing
console.log([1n]) // logs [null]