From 30eb1e40952795dd6c5abc45f160e4add6c1c4da Mon Sep 17 00:00:00 2001 From: Wairioko <75182416+Wairioko@users.noreply.github.com> Date: Fri, 2 Aug 2024 17:43:28 +0300 Subject: [PATCH] Add content for symbol data type (#6327) * Update symbol@R6ICrk6vjoBxx5nRGo4Jg.md Simple introduction to Symbols data type in JS and resources to learn more added * Update src/data/roadmaps/javascript/content/symbol@R6ICrk6vjoBxx5nRGo4Jg.md * Update src/data/roadmaps/javascript/content/symbol@R6ICrk6vjoBxx5nRGo4Jg.md --------- Co-authored-by: Kamran Ahmed --- .../javascript/content/symbol@R6ICrk6vjoBxx5nRGo4Jg.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/data/roadmaps/javascript/content/symbol@R6ICrk6vjoBxx5nRGo4Jg.md b/src/data/roadmaps/javascript/content/symbol@R6ICrk6vjoBxx5nRGo4Jg.md index ef3233b3d..6bce37738 100644 --- a/src/data/roadmaps/javascript/content/symbol@R6ICrk6vjoBxx5nRGo4Jg.md +++ b/src/data/roadmaps/javascript/content/symbol@R6ICrk6vjoBxx5nRGo4Jg.md @@ -1 +1,8 @@ -# Symbol \ No newline at end of file +# 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. + +Learn more from the following resources: + +- [@article@Symbol data type in JavaScript](https://www.javascripttutorial.net/symbol/) +- [@article@Symbol type](https://javascript.info/symbol)