Compare Revisions

JS_ValueToBoolean

Revision 146653:

Revision 146653 by Dria on

Revision 146654:

Revision 146654 by Amohr on

Title:
JS_ValueToBoolean
JS_ValueToBoolean
Slug:
SpiderMonkey/JSAPI_Reference/JS_ValueToBoolean
SpiderMonkey/JSAPI_Reference/JS_ValueToBoolean
Tags:
SpiderMonkey, JSAPI_Reference
SpiderMonkey, JSAPI_Reference
Content:

Revision 146653
Revision 146654
tt79    <h2 name="Notes">
80      Notes
81    </h2>
82    <p>
83      Calling <code>JS_ValueToBoolean</code> against a Boolean ob
 >ject will always return true for versions greater than <code>JSVE
 >RSION_1_2</code>. This is due to ECMA-262. Related discussion on 
 ><a class="external" href="http://groups.google.com/group/netscape
 >.public.mozilla.jseng/browse_thread/thread/13de1825f1935156/5c190
 >1b7d4b31c4f">google groups</a>
84    </p>

Back to History