Last updated 2 years ago
Was this helpful?
⟩ ⟩ ⟩ cannot convert BigInt to Number
:
replit:
const n = 40n; // BigInt +n; // ⛔️ TypeError: Cannot convert a BigInt value to a number
type conversion: BigInt -> Number
cannot convert Symbol to Number❗️
unary arithmetic operator ⟩ unary plus (+)