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