Symbol returns a unique value, not like string. When you assign an object property name with a symbol, the property only can be access with the symbol. So, it prevents overwriting object properties by mistake. Also, you can use it for an iterator.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Symbol returns a unique value, not like string. When you assign an object property name with a symbol, the property only can be access with the symbol. So, it prevents overwriting object properties by mistake. Also, you can use it for an iterator.