Symbols

Symbols are a new primitive data type in JavaScript, they can to create anonymous keys for object properties, among other things. One key feature of these properties is that they do not show up in a for..in loop. Symbols are created using the Symbol function and passed a description.

Get hands-on with 1200+ tech skills courses.