mozilla

Compare Revisions

String.prototype.toString()

Change Revisions

Revision 87728:

Revision 87728 by Mgjbot on

Revision 87729:

Revision 87729 by evilpie on

Title:
toString
toString
Slug:
JavaScript/Reference/Global_Objects/String/toString
JavaScript/Reference/Global_Objects/String/toString
Content:

Revision 87728
Revision 87729
nn7    <p>
8      &nbsp;
9    </p>
n17            Method of <a href="en/Core_JavaScript_1.5_Reference/Gn20            Method of <a href="/En/Core_JavaScript_1.5_Reference/
>lobal_Objects/String">String</a>>Global_Objects/String" title="En/Core_JavaScript_1.5_Reference/Gl
 >obal_Objects/String">String</a>
n25            JavaScript 1.1, NES2.0n28            JavaScript 1.1
n30            ECMA Version:n33            ECMAScript Edition:
n33            ECMA-262n36            ECMA-262 1st Edition
n42      <code>toString()</code>n45      <code><em>string</em>.toString()</code>
n54      The <code>String</code> object overrides the <code>toStringn57      The <code>String</code> object overrides the <code>toString
></code> method of the <code><a href="en/Core_JavaScript_1.5_Refer></code> method of the <code><a href="/en/JavaScript/Reference/Glo
>ence/Global_Objects/Object">Object</a></code> object; it does not>bal_Objects/Object" title="en/JavaScript/Reference/Global_Objects
> inherit <code><a href="en/Core_JavaScript_1.5_Reference/Global_O>/Object">Object</a></code> object; it does not inherit <code><a h
>bjects/Object/toString">Object.toString</a></code>. For <code>Str>ref="/en/JavaScript/Reference/Global_Objects/Object/toString" tit
>ing</code> objects, the <code>toString</code> method returns a st>le="en/JavaScript/Reference/Global_Objects/Object/toString">Objec
>ring representation of the object.>t.toString</a></code>. For <code>String</code> objects, the <code
 >>toString</code> method returns a string representation of the ob
 >ject.
n73      <a href="en/Core_JavaScript_1.5_Reference/Global_Objects/Obn76      <a href="/en/JavaScript/Reference/Global_Objects/Object/toS
>ject/toString">Object.toString</a>>tring" title="en/JavaScript/Reference/Global_Objects/Object/toStr
 >ing">Object.toString</a>
n76      <br>n79      &nbsp;
tt81    <p>
78    <div class="noinclude"></div>{{ languages( { "es": "es/Refere82      {{ languages( { "es": "es/Referencia_de_JavaScript_1.5/Obje
>ncia_de_JavaScript_1.5/Objetos_globales/String/toString", "ja": ">tos_globales/String/toString", "ja": "ja/Core_JavaScript_1.5_Refe
>ja/Core_JavaScript_1.5_Reference/Global_Objects/String/toString",>rence/Global_Objects/String/toString", "pl": "pl/Dokumentacja_j\u
> "pl": "pl/Dokumentacja_j\u0119zyka_JavaScript_1.5/Obiekty/String>0119zyka_JavaScript_1.5/Obiekty/String/toString" } ) }}
>/toString" } ) }} 
83    </p>

Back to History