Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8141702

Add support for Symbol property keys

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • None
    • core-libs
    • b93
    • generic
    • generic

      ECMAScript 6 introduces a new kind of property keys called symbols. Symbols are non-string keys with which are guaranteed to be unique and therefore allow properties to be added without the risk of conflicts with other keys.

      Symbols are used in a lot of places in ES6 which makes them a good next feature to support.

      They will be completely invisible to code running in ES5 mode. In ES6 mode, a Symbol global object is added to the global scope that allows creation of symbol values.

            hannesw Hannes Wallnoefer
            hannesw Hannes Wallnoefer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: