Variables & Data Types
Which statement about BigInt in JavaScript is true?
BigInt can represent arbitrary large integers without precision loss. BigInt was introduced in ES2020 to handle integers of arbitrary length, addressing the limitation of the Number type which can only safely represent integers between -(2^53 - 1) and (2^53 - 1). BigInt literals are created by appending 'n' to the end of an integer (e.g., 9007199254740992n) or by using the BigInt() function. BigInt is a separate primitive type from Number, and you cannot mix BigInt and Number in arithmetic operations without explicit conversion. It is not specifically related to dates and times.