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

Object.prototype.toString should contain the class name for all instances

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 8
    • 8
    • core-libs
    • None
    • b106
    • generic
    • generic

      Some script rely on this information to determinate the nature of an instance.
      Array, Regexp, Error, Date, ArrayBuffers should display: "[object <className>]"
      Mirror of these classes should display the same content.

            sundar Sundararajan Athijegannathan
            jfdenise Jean-Francois Denise (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: