cannot convert Symbol to Number❗️

JSerrorTypeError ⟩ TypeError: Cannot convert Symbol to number

replit: can't convert Symbol

const s = Symbol(); 

+s;   // ⛔️ TypeError: Cannot convert a Symbol value to a number

Last updated