A symbol is a unique primitive (typeof gives 'symbol') used mainly as a collision-free property key. Create one with Symbol('description'); new Symbol() throws because Symbol is not a constructor.
A symbol is a unique primitive (typeof gives 'symbol') used mainly as a collision-free property key. Create one with Symbol('description'); new Symbol() throws because Symbol is not a constructor.