Add new resource to symbol, refine documentation for clarity and flow. (#7163)

pull/7171/head
Cody 2 months ago committed by GitHub
parent c49563ba16
commit 61c4d566c2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 5
      src/data/roadmaps/javascript/content/symbol@R6ICrk6vjoBxx5nRGo4Jg.md

@ -1,8 +1,11 @@
# Symbol # Symbol
Symbols are a unique and immutable primitive data type in JavaScript, introduced in ECMAScript 6 (ES6). They are often used to create unique property keys for objects, ensuring that no property key collisions occur. Each Symbol value is unique, even if created with the same description. Symbols can be created using the Symbol() function, and their primary use case is to add hidden or special properties to objects that won’t interfere with other properties or methods. Symbols are a unique and immutable primitive data type in JavaScript, introduced in ECMAScript 6 (ES6). They are often used to create unique property keys for objects, ensuring no property key collisions occur. Each Symbol value is distinct, even when multiple are created with the same description. Symbols can be created using the Symbol() function, and their primary use case is to add hidden or special properties to objects that won’t interfere with other properties or methods.
Learn more from the following resources: Learn more from the following resources:
- [@article@Symbol data type in JavaScript](https://www.javascripttutorial.net/symbol/) - [@article@Symbol data type in JavaScript](https://www.javascripttutorial.net/symbol/)
- [@article@Symbol type](https://javascript.info/symbol) - [@article@Symbol type](https://javascript.info/symbol)
- [@article@Symbol](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol)
- [@video@Symbols in Javascript](https://www.youtube.com/watch?v=E5Bblr-SFbA)

Loading…
Cancel
Save