replit: can't convert Symbol
const s = Symbol(); +s; // ⛔️ TypeError: Cannot convert a Symbol value to a number
type conversion: Symbol -> Number
cannot convert BigInt to Number❗️
unary arithmetic operator ⟩ unary plus (+)
?
Last updated 1 year ago
JS ⟩ error ⟩ TypeError ⟩ TypeError: Cannot convert Symbol to number
TypeError:cannot convert Symbol to Number