JS Built-ins
TypedArrayofadvanced

BigInt64Array.of() β€” BigInt Values

πŸ“– Usage Example
const big = BigInt64Array.of(1n, 2n, 100n);
// BigInt64Array [1n, 2n, 100n]

BigInt64Array.of() creates a 64-bit integer typed array from BigInt literals.

Create a BigInt64Array using of() with BigInt literals. BigInt64Array stores 64-bit integers.

πŸ’‘ Hints (2)
  • β€’ Use BigInt64Array.of(value)
  • β€’ BigInt literals use the n suffix: 42n