JavaScript Symbol type: (non-string object keys)

前端 未结 3 1415
没有蜡笔的小新
没有蜡笔的小新 2021-01-05 07:35

What is the "Symbol" javascript type as mentioned in this ECMAScript 6 draft specification?

To quote the spec:

The Symbol type is the se

3条回答
  •  再見小時候
    2021-01-05 07:57

    Symbol is a new addition to the language proposed as part of ECMAScript 6:

    Current work on ECMAScript™

    Work on future ECMAScript™ editions continues as part of the previously announced ECMAScript™ "Harmony" project. More details of the current work on ECMAScript "Harmony" are described on this Wiki. A sixth edition of the standard is currently under development with a target date of December 2013 for completion.

提交回复
热议问题