cannot convert BigInt to Number❗️

JSerrorTypeError ⟩ cannot convert BigInt to Number

const n = 40n;    // BigInt

+n;   // ⛔️ TypeError: Cannot convert a BigInt value to a number

Last updated