JavaScript Symbol
Symbol methods and properties. This category documents 18 JavaScript symbol entries, and each page gives you the full syntax, the parameter list, the return value, a runnable example, time complexity, the TypeScript signature, and the mistakes developers most often make with that API. The entries are: Symbol(), Symbol.for(), Symbol.keyFor(), Symbol.prototype.toString(), Symbol.iterator, Symbol.asyncIterator, Symbol.hasInstance, Symbol.toStringTag, Symbol.toPrimitive, Symbol.species, Symbol.isConcatSpreadable, Symbol.match, Symbol.replace, Symbol.search, Symbol.split, Symbol.prototype.description, Symbol.prototype[Symbol.toPrimitive](), Symbol.unscopables. For a structured walkthrough of the whole topic, read the Symbol guide. Not sure which method you need? Symbol() and Symbol.for() are the most commonly used starting points in this category. You can also search across every category from the search page or browse the complete A–Z index.