Skip to content

Object.prototype.toString() behaviour #285

Closed

Description

@artptr

According to "The Class of an Object" section, the method Object.prototype.toString()returns [[Class]] internal value. But according to the section 15.2.4.2 of the ECMAScript 5.1 Specification, this method should return string values like '[object Null]', '[object Undefined]', '[object String]', etc.

Activity

  1. timruffles commented on May 28, 2015

    @timruffles
    Collaborator

    You're right, the text isn't clear. Will update!

  2. timruffles commented on May 28, 2015

    @timruffles
    Collaborator

    deployed

  3. added a commit that references this issue on Jun 24, 2025
    b10deb7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions