javascript symbol ! code example
Example: javascript symbol
const NAME = Symbol()
const person = {
[NAME]: 'Flavio'
}
person[NAME] //'Flavio'
const RUN = Symbol()
person[RUN] = () => 'Person is running'
console.log(person[RUN]()) //'Person is running'