Language Reference |
See Also Methods Properties
Creates a new Boolean value.
var variablename = new Boolean(boolvalue)
The optional boolvalue argument is the initital Boolean value for the new object. If this value is omitted, or is false, 0, null, NaN, or an empty string, the initial value of the Boolean object is false. Otherwise, the initial value is true.
The Boolean object is a wrapper for the Boolean data type. JScript implicitly uses the Boolean object whenever a Boolean data type is converted to a Boolean object.
You rarely call the Boolean object explicitly.
© 1997 by Microsoft Corporation. All rights reserved.
|file: /Techref/inet/iis/jscript/htm/js532.htm, 2KB, , updated: 2008/2/1 17:25, local time: 2018/3/18 16:38,
|©2018 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?|
<A HREF="http://techref.massmind.org/techref/inet/iis/jscript/htm/js532.htm"> Boolean Object</A>
|Did you find what you needed?|
Welcome to massmind.org!
Welcome to techref.massmind.org!