Compare Revisions

Object.prototype.toString()

Change Revisions

Revision 61304:

Revision 61304 by evilpie on

Revision 61305:

Revision 61305 by evilpie on

Title:
toString
toString
Slug:
JavaScript/Reference/Global_Objects/Object/toString
JavaScript/Reference/Global_Objects/Object/toString
Tags:
JavaScript, "JavaScript Reference", "String Methods"
JavaScript, "JavaScript Reference", "String Methods"
Content:

Revision 61304
Revision 61305
n59    <p>n59    <div class="note">
60      Starting in JavaScript 1.8.5 <code>toString()</code> called60      Starting in JavaScript 1.8.5 <code>toString()</code> called
> on <code>null</code> returns <code>[object <em>Null</em>]</code>> on <code>null</code> returns <code>[object <em>Null</em>]</code>
>, and <code>undefined</code> returns <code>[object <em>Undefined<>, and <code>undefined</code> returns <code>[object <em>Undefined<
>/em>]</code>. See <a href="/en/JavaScript/Reference/Global_Object>/em>]</code>, as defined in the 5th Edition of ECMAScript and a s
>s/Object/toString#Using_toString_to_detect_object_type" title="en>ubsequent Errata. See <a href="/en/JavaScript/Reference/Global_Ob
>/JavaScript/Reference/Global Objects/Object/toString#Using toStri>jects/Object/toString#Using_toString_to_detect_object_type" title
>ng to detect object type">Using toString to detect object type</a>="en/JavaScript/Reference/Global Objects/Object/toString#Using to
>>.>String to detect object type">Using toString to detect object typ
 >e</a>.
61    </p>61    </div>
62    <h4 name="Built-in_toString_methods">62    <div class="note">
t64    </h4>t64    </div>

Back to History