n" at the end of an integer literal merely suggests that the value is a bigint primitive. Bigint values (introduced in ES10) are used to represent arbitrarily large integers. For example:
// ES10+ const MAX_SAFE_INTEGER = 9007199254740991n;
n" at the end of an integer literal is one of the ways you can create a bigint value.
Hope you found this post useful. It was published . Please show your love and support by sharing this post.