Skip to content

Commit aa961af

Browse files
committed
symbol topic added.
1 parent c7e7e51 commit aa961af

File tree

1 file changed

+2
-2
lines changed
  • 02-Part II - ES2015 features/13-Symbols

1 file changed

+2
-2
lines changed

02-Part II - ES2015 features/13-Symbols/notes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
## Symbols
22

3-
* [Source:](https://developer.mozilla.org/en-US/docs/Glossary/Symbol)
4-
53
> The data type `symbol` is a `primitive data type` having the quality that values of this type can be used to `make object properties` that are anonymous. This data type is `used as the key` for an object property when the property is intended to be `private`, for the internal use of a class or an object type.
64
75
* A value having the data type "symbol" can be referred to as a `"symbol value"`.
@@ -35,3 +33,5 @@ Object.keys(obj) // []
3533
Object.getOwnPropertyNames(obj) // []
3634
Object.getOwnPropertySymbols(obj) // [ Symbol(), Symbol() ]
3735
```
36+
37+
* [Source:MDN Glossary](https://developer.mozilla.org/en-US/docs/Glossary/Symbol)

0 commit comments

Comments
 (0)