JavaScript Programmer’s Reference Property JavaScript JScript N IE (Web design programs)

JavaScript Programmer’s Reference Property JavaScript JScript N IE Opera NES ECMA Notes constructor 1.1 + 3.0 + 3.0 + 4.0 + 2 + - prototype 1.1 + 3.0 + 3.0 + 4.0 + 3.0 + 2.0 + 2 + - Method JavaScript JScript N IE Opera NES ECMA Notes toSource() 1.3 + 4.06 + 3.0 + - toString() 1.1 + 3.0 + 3.0 + 4.0 + 3.0 + 2.0 + 2 + - valueOf() 1.1 + 3.0 + 3.0 + 4.0 + 2 + - Cross-references: ECMA 262 edition 2 section 4.3.15 ECMA 262 edition 2 section 10.1.5 ECMA 262 edition 2 section 15.6 ECMA 262 edition 3 section 4.3.15 ECMA 262 edition 3 section 15.6 Boolean() (Constructor) A Boolean object constructor. Availability: ECMAScript edition 2 JavaScript 1.1 JScript 3.0 Internet Explorer 4.0 Netscape 3.0 Property/method value type: Boolean object -new Boolean() JavaScript syntax: -new Boolean(aValue) Argument list: aValue A value to be converted to a Boolean object. The Boolean() constructor is used to manufacture new instances of the built-in Boolean object. When the Boolean() constructor is called by the newoperator, it initializes a brand new Boolean object instance. The value of the new Booleanobject instance is the same as the Boolean value yielded by the type conversion of the Boolean() constructor’s parameter.

Leave a Reply