mozilla

Compare Revisions

Boolean.prototype

Change Revisions

Revision 32589:

Revision 32589 by Sevenspade on

Revision 32590:

Revision 32590 by Sevenspade on

Title:
prototype
prototype
Slug:
JavaScript/Reference/Global_Objects/Boolean/prototype
JavaScript/Reference/Global_Objects/Boolean/prototype
Content:

Revision 32589
Revision 32590
n11      Represents the prototype for the <a href="/en/Core_JavaScrin11      Represents the prototype for the <a href="/en/JavaScript/Re
>pt_1.5_Reference/Global_Objects/Boolean" title="en/Core_JavaScrip>ference/Global_Objects/Boolean" title="en/JavaScript/Reference/Gl
>t_1.5_Reference/Global_Objects/Boolean"><code>Boolean</code></a> >obal_Objects/Boolean"><code>Boolean</code></a> constructor.
>constructor. 
n17      <a class="internal" href="/en/Core_JavaScript_1.5_Referencen17      <a class="internal" href="/en/JavaScript/Reference/Global_O
>/Global_Objects/Boolean" title="en/Core JavaScript 1.5 Reference/>bjects/Boolean" title="en/JavaScript/Reference/Global Objects/Boo
>Global Objects/Boolean"><code>Boolean</code></a> instances inheri>lean"><code>Boolean</code></a> instances inherit from <a class="i
>t from <a class="internal" href="/en/Core_JavaScript_1.5_Referenc>nternal" href="/en/JavaScript/Reference/Global_Objects/Boolean/pr
>e/Global_Objects/Boolean/prototype" title="en/Core JavaScript 1.5>ototype" title="en/JavaScript/Reference/Global Objects/Boolean/Pr
> Reference/Global Objects/Boolean/Prototype"><code>Boolean.protot>ototype"><code>Boolean.prototype</code></a>. You can use the cons
>ype</code></a>. You can use the constructor's prototype object to>tructor's prototype object to add properties or methods to all <c
> add properties or methods to all <code>Boolean</code> instances.>ode>Boolean</code> instances.
n24        <a href="/en/Core_JavaScript_1.5_Reference/Global_Objectsn24        <a href="/en/JavaScript/Reference/Global_Objects/Boolean/
>/Boolean/constructor" title="en/Core_JavaScript_1.5_Reference/Glo>constructor" title="en/JavaScript/Reference/Global_Objects/Boolea
>bal_Objects/Boolean/constructor"><code>constructor</code></a>>n/constructor"><code>constructor</code></a>
n27        Returns the function that created an instance's prototypen27        Returns the function that created an instance's prototype
>. This is the <a class="internal" href="/en/Core_JavaScript_1.5_R>. This is the <a class="internal" href="/en/JavaScript/Reference/
>eference/Global_Objects/Boolean" title="en/Core JavaScript 1.5 Re>Global_Objects/Boolean" title="en/JavaScript/Reference/Global Obj
>ference/Global Objects/Boolean"><code>Boolean</code></a> function>ects/Boolean"><code>Boolean</code></a> function by default.
> by default. 
n38        <a href="/en/Core_JavaScript_1.5_Reference/Global_Objectsn38        <a href="/en/JavaScript/Reference/Global_Objects/Boolean/
>/Boolean/toSource" title="en/Core_JavaScript_1.5_Reference/Global>toSource" title="en/JavaScript/Reference/Global_Objects/Boolean/t
>_Objects/Boolean/toSource">toSource</a>>oSource">toSource</a>
n41        Returns a string containing the source of the <a class="in41        Returns a string containing the source of the <a class="i
>nternal" href="/en/Core_JavaScript_1.5_Reference/Global_Objects/B>nternal" href="/en/JavaScript/Reference/Global_Objects/Boolean" t
>oolean" title="en/Core JavaScript 1.5 Reference/Global Objects/Bo>itle="en/JavaScript/Reference/Global Objects/Boolean"><code>Boole
>olean"><code>Boolean</code></a> object; you can use this string t>an</code></a> object; you can use this string to create an equiva
>o create an equivalent object. Overrides the <a href="/en/Core_Ja>lent object. Overrides the <a href="/en/JavaScript/Reference/Glob
>vaScript_1.5_Reference/Global_Objects/Object/toSource" title="en/>al_Objects/Object/toSource" title="en/JavaScript/Reference/Global
>Core_JavaScript_1.5_Reference/Global_Objects/Object/toSource"><co>_Objects/Object/toSource"><code>Object.prototype.toSource</code><
>de>Object.prototype.toSource</code></a> method.>/a> method.
n46        <a href="/en/Core_JavaScript_1.5_Reference/Global_Objectsn46        <a href="/en/JavaScript/Reference/Global_Objects/Boolean/
>/Boolean/toString" title="en/Core_JavaScript_1.5_Reference/Global>toString" title="en/JavaScript/Reference/Global_Objects/Boolean/t
>_Objects/Boolean/toString"><code>toString</code></a>>oString"><code>toString</code></a>
n49        Returns a string of either "true" or "false" depending upn49        Returns a string of either "true" or "false" depending up
>on the value of the object. Overrides the <a href="/en/Core_JavaS>on the value of the object. Overrides the <a href="/en/JavaScript
>cript_1.5_Reference/Global_Objects/Object/toString" title="en/Cor>/Reference/Global_Objects/Object/toString" title="en/JavaScript/R
>e_JavaScript_1.5_Reference/Global_Objects/Object/toString"><code>>eference/Global_Objects/Object/toString"><code>Object.prototype.t
>Object.prototype.toString</code></a>method.>oString</code></a>method.
n54        <a href="/en/Core_JavaScript_1.5_Reference/Global_Objectsn54        <a href="/en/JavaScript/Reference/Global_Objects/Boolean/
>/Boolean/valueOf" title="en/Core_JavaScript_1.5_Reference/Global_>valueOf" title="en/JavaScript/Reference/Global_Objects/Boolean/va
>Objects/Boolean/valueOf"><code>valueOf</code></a>>lueOf"><code>valueOf</code></a>
t57        Returns the primitive value of the <a class="internal" hrt57        Returns the primitive value of the <a class="internal" hr
>ef="/en/Core_JavaScript_1.5_Reference/Global_Objects/Boolean" tit>ef="/en/JavaScript/Reference/Global_Objects/Boolean" title="en/Ja
>le="en/Core JavaScript 1.5 Reference/Global Objects/Boolean"><cod>vaScript/Reference/Global Objects/Boolean"><code>Boolean</code></
>e>Boolean</code></a> object. Overrides the <a href="/en/Core_Java>a> object. Overrides the <a href="/en/JavaScript/Reference/Global
>Script_1.5_Reference/Global_Objects/Object/valueOf" title="en/Cor>_Objects/Object/valueOf" title="en/JavaScript/Reference/Global_Ob
>e_JavaScript_1.5_Reference/Global_Objects/Object/valueOf"><code>O>jects/Object/valueOf"><code>Object.prototype.valueOf</code></a> m
>bject.prototype.valueOf</code></a> method.>ethod.

Back to History