79178015

Date: 2024-11-11 14:26:07
Score: 0.5
Natty:
Report link

There is now a setBigInt64() and a getBigInt64() method on DataView! It does, as suggested in the other answers, return a bigint.

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DataView/getBigInt64 https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DataView/setBigInt64

(There are also BigUint64 versions)

Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • High reputation (-1):
Posted by: Michiel Dral