samedi 20 juin 2015

ELI5 What are practical use case for symbols in ES2015/ES6?

A symbol is a unique and immutable data type and may be used as an identifier for object properties. The symbol object is an implicit object wrapper for the symbol primitive data type.

Q: When should I try to use symbols?

Q: are there any good patterns for using symbols?

Q: why do you think symbols were included in ES6?

Q: where or which language did the idea of symbols originate?

Q: why should I care about symbols?

Aucun commentaire:

Enregistrer un commentaire