---
title: "Discussion on \"Understanding Symbols in JavaScript\" | Hashnode"
description: "Discussion on \"Understanding Symbols in JavaScript\". What are symbols?\nSymbols are primitive values that are guaranteed to be unique. You can create a new symbol with the Symbol constructor and optionally provide a description string:\nconst foo = Symbol('foo');\n\nSymbols are primitives, not objects. We ..."
url: "https://hashnode.com/posts/understanding-symbols-in-javascript/6270a4019ed78401a6408bbd"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Understanding Symbols in JavaScript](https://zachsnoek.hashnode.dev/understanding-symbols-in-javascript?utm_source=hashnode&utm_medium=feed)

What are symbols? Symbols are primitive values that are guaranteed to be unique. You can create a new symbol with the Symbol constructor and optionally provide a description string: const foo = Symbol('foo'); Symbols are primitives, not objects. We ...

May 3, 2022 · 6 min read · zachsnoek.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#web-development](https://hashnode.com/tag/web-development)

## Written by

[Zach Snoek](https://hashnode.com/@zachsnoek)

@zachsnoek · Washington, USA

  
[View profile](https://hashnode.com/@zachsnoek)

Software Engineer

## Responses 4

Markdown supported · ⌘↵ to post

[Denial Brown](https://hashnode.com/@Denial701)

[May 25, 2022](https://hashnode.com/posts/understanding-symbols-in-javascript/6270a4019ed78401a6408bbd/comment/628e50f819bda58ac7fb14f5)

For me, as someone who was looking for an answer to [how to convert array to string Javascript](https://ittutoria.net/convert-array-to-string-javascript/) , this was quite helpful. Thank you for this post!

[TomTom Developers](https://hashnode.com/@tomtomdevs)

[May 7, 2022](https://hashnode.com/posts/understanding-symbols-in-javascript/6270a4019ed78401a6408bbd/comment/6275f607dc122f5a4f21d0f3)

Great read! thanks for the tips!

[Diego Ballesteros (Relatable Code)](https://hashnode.com/@diegoballesteros)

[May 4, 2022](https://hashnode.com/posts/understanding-symbols-in-javascript/6270a4019ed78401a6408bbd/comment/627264895334a1261eb533ff)

Great explanation on the lesser-used functionality of symbols! Didn't know a few things myself.

[samiran](https://hashnode.com/@abstrekt)

[May 3, 2022](https://hashnode.com/posts/understanding-symbols-in-javascript/6270a4019ed78401a6408bbd/comment/627185fbd64dcf11c4fb5cc2)

good read, thanks
