Name Description Size Coverage
proto-from-ctor-realm.js --- esid: sec-boolean-constructor-boolean-value es6id: 19.3.1.1 description: Default [[Prototype]] value derived from realm of the newTarget info: | [...] 3. Let O be ? OrdinaryCreateFromConstructor(NewTarget, "%BooleanPrototype%", « [[BooleanData]] »). [...] 9.1.14 GetPrototypeFromConstructor [...] 3. Let proto be ? Get(constructor, "prototype"). 4. If Type(proto) is not Object, then a. Let realm be ? GetFunctionRealm(constructor). b. Let proto be realm's intrinsic object named intrinsicDefaultProto. [...] features: [cross-realm, Reflect] --- 953 -
prototype -
S9.2_A1_T1.js --- info: Result of boolean conversion from undefined value is false esid: sec-toboolean es5id: 9.2_A1_T1 description: > Undefined, void and others are converted to Boolean by explicit transformation --- 847 -
S9.2_A2_T1.js --- info: Result of boolean conversion from null value is false esid: sec-toboolean es5id: 9.2_A2_T1 description: null convert to Boolean by explicit transformation --- 420 -
S9.2_A3_T1.js --- info: Result of boolean conversion from boolean value is no conversion esid: sec-toboolean es5id: 9.2_A3_T1 description: true and false convert to Boolean by explicit transformation --- 556 -
S9.2_A4_T1.js --- info: | Result of boolean conversion from number value is false if the argument is +0, -0, or NaN; otherwise, is true esid: sec-toboolean es5id: 9.2_A4_T1 description: +0, -0 and NaN convert to Boolean by explicit transformation --- 730 -
S9.2_A4_T3.js --- info: | Result of boolean conversion from number value is false if the argument is +0, -0, or NaN; otherwise, is true esid: sec-toboolean es5id: 9.2_A4_T3 description: > Number.POSITIVE_INFINITY, Number.NEGATIVE_INFINITY, Number.MAX_VALUE, Number.MIN_VALUE and some numbers convert to Boolean by explicit transformation --- 1502 -
S9.2_A5_T1.js --- info: | Result of boolean conversion from nonempty string value (length is not zero) is true; from empty String (length is zero) is false esid: sec-toboolean es5id: 9.2_A5_T1 description: "\"\" is converted to Boolean by explicit transformation" --- 507 -
S9.2_A5_T3.js --- info: | Result of boolean conversion from nonempty string value (length is not zero) is true; from empty String (length is zero) is false esid: sec-toboolean es5id: 9.2_A5_T3 description: Any nonempty string convert to Boolean by explicit transformation --- 667 -
S9.2_A6_T1.js --- info: Result of boolean conversion from object is true esid: sec-toboolean es5id: 9.2_A6_T1 description: Different objects convert to Boolean by explicit transformation --- 3146 -
S15.6.1.1_A1_T1.js --- info: | Returns a boolean value (not a Boolean object) computed by ToBoolean(value) esid: sec-terms-and-definitions-boolean-value es5id: 15.6.1.1_A1_T1 description: > Used values 1, new String("1"), new Object(1) and called without argument --- 1061 -
S15.6.1.1_A1_T2.js --- info: | Returns a boolean value (not a Boolean object) computed by ToBoolean(value) esid: sec-terms-and-definitions-boolean-value es5id: 15.6.1.1_A1_T2 description: Used various number values as argument --- 1415 -
S15.6.1.1_A1_T3.js --- info: | Returns a boolean value (not a Boolean object) computed by ToBoolean(value) esid: sec-terms-and-definitions-boolean-value es5id: 15.6.1.1_A1_T3 description: Used various string values as argument --- 1557 -
S15.6.1.1_A1_T4.js --- info: | Returns a boolean value (not a Boolean object) computed by ToBoolean(value) esid: sec-terms-and-definitions-boolean-value es5id: 15.6.1.1_A1_T4 description: Used various undefined values and null as argument --- 1658 -
S15.6.1.1_A1_T5.js --- info: | Returns a boolean value (not a Boolean object) computed by ToBoolean(value) esid: sec-terms-and-definitions-boolean-value es5id: 15.6.1.1_A1_T5 description: Used various assigning values to any variable as argument --- 1630 -
S15.6.1.1_A2.js --- info: Boolean() returns false esid: sec-terms-and-definitions-boolean-value es5id: 15.6.1.1_A2 description: Call Boolean() and check result --- 511 -
S15.6.2.1_A1.js --- info: | When Boolean is called as part of a new expression it is a constructor: it initialises the newly created object esid: sec-boolean-constructor es5id: 15.6.2.1_A1 description: Checking type of the newly created object and it value --- 1283 -
S15.6.2.1_A2.js --- info: | The [[Prototype]] property of the newly constructed object is set to the original Boolean prototype object, the one that is the initial value of Boolean.prototype esid: sec-boolean-constructor es5id: 15.6.2.1_A2 description: Checking prototype property of the newly created object --- 890 -
S15.6.2.1_A3.js --- info: | The [[Value]] property of the newly constructed object is set to ToBoolean(value) esid: sec-boolean-constructor es5id: 15.6.2.1_A3 description: Checking value of the newly created object --- 897 -
S15.6.2.1_A4.js --- info: | The [[Class]] property of the newly constructed object is set to "Boolean" esid: sec-boolean-constructor es5id: 15.6.2.1_A4 description: For testing toString function is used --- 548 -
S15.6.3_A1.js --- info: The Boolean constructor has the property "prototype" esid: sec-boolean.prototype es5id: 15.6.3_A1 description: Checking existence of the property "prototype" --- 426 -
S15.6.3_A2.js --- info: | The value of the internal [[Prototype]] property of the Boolean constructor is the Function prototype object esid: sec-boolean.prototype es5id: 15.6.3_A2 description: Checking prototype of the Boolean constructor --- 566 -
S15.6.3_A3.js --- info: Boolean constructor has length property whose value is 1 esid: sec-boolean.prototype es5id: 15.6.3_A3 description: Checking Boolean.length property --- 515 -
symbol-coercion.js --- esid: sec-toboolean es6id: 7.1.2 description: > Boolean coercion operations on Symbols features: [Symbol] --- 372 -