browser.js |
|
0 |
is-a-constructor.js |
---
esid: sec-ecmascript-standard-built-in-objects
description: >
The Boolean constructor implements [[Construct]]
info: |
IsConstructor ( argument )
The abstract operation IsConstructor takes argument argument (an ECMAScript language value).
It determines if argument is a function object with a [[Construct]] internal method.
It performs the following steps when called:
If Type(argument) is not Object, return false.
If argument has a [[Construct]] internal method, return true.
Return false.
includes: [isConstructor.js]
features: [Reflect.construct]
--- |
842 |
prop-desc.js |
---
esid: sec-constructor-properties-of-the-global-object-boolean
description: Property descriptor for Boolean
info: |
Every other data property described in clauses 18 through 26 and in Annex B.2
has the attributes { [[Writable]]: true, [[Enumerable]]: false,
[[Configurable]]: true } unless otherwise specified.
includes: [propertyHelper.js]
--- |
612 |
proto-from-ctor-realm.js |
---
esid: sec-boolean-constructor-boolean-value
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]
--- |
959 |
prototype |
|
|
S9.2_A1_T1.js |
---
info: Result of boolean conversion from undefined value is false
esid: sec-toboolean
description: >
Undefined, void and others are converted to Boolean by explicit
transformation
--- |
679 |
S9.2_A2_T1.js |
---
info: Result of boolean conversion from null value is false
esid: sec-toboolean
description: null convert to Boolean by explicit transformation
--- |
386 |
S9.2_A3_T1.js |
---
info: Result of boolean conversion from boolean value is no conversion
esid: sec-toboolean
description: true and false convert to Boolean by explicit transformation
--- |
482 |
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
description: +0, -0 and NaN convert to Boolean by explicit transformation
--- |
616 |
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
description: >
Number.POSITIVE_INFINITY, Number.NEGATIVE_INFINITY,
Number.MAX_VALUE, Number.MIN_VALUE and some numbers convert to
Boolean by explicit transformation
--- |
1194 |
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
description: "\"\" is converted to Boolean by explicit transformation"
--- |
475 |
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
description: Any nonempty string convert to Boolean by explicit transformation
--- |
582 |
S9.2_A6_T1.js |
---
info: Result of boolean conversion from object is true
esid: sec-toboolean
description: Different objects convert to Boolean by explicit transformation
--- |
2182 |
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
description: >
Used values 1, new String("1"), new Object(1) and called without
argument
--- |
918 |
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
description: Used various number values as argument
--- |
1131 |
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
description: Used various string values as argument
--- |
1344 |
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
description: Used various undefined values and null as argument
--- |
1430 |
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
description: Used various assigning values to any variable as argument
--- |
1436 |
S15.6.1.1_A2.js |
---
info: Boolean() returns false
esid: sec-terms-and-definitions-boolean-value
description: Call Boolean() and check result
--- |
465 |
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
description: Checking type of the newly created object and it value
--- |
1314 |
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
description: Checking prototype property of the newly created object
--- |
951 |
S15.6.2.1_A3.js |
---
info: |
The [[Value]] property of the newly constructed object
is set to ToBoolean(value)
esid: sec-boolean-constructor
description: Checking value of the newly created object
--- |
764 |
S15.6.2.1_A4.js |
---
info: |
The [[Class]] property of the newly constructed object
is set to "Boolean"
esid: sec-boolean-constructor
description: For testing toString function is used
--- |
505 |
S15.6.3_A1.js |
---
info: The Boolean constructor has the property "prototype"
esid: sec-boolean.prototype
description: Checking existence of the property "prototype"
--- |
415 |
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
description: Checking prototype of the Boolean constructor
--- |
498 |
S15.6.3_A3.js |
---
info: Boolean constructor has length property whose value is 1
esid: sec-boolean.prototype
description: Checking Boolean.length property
--- |
487 |
shell.js |
---
description: |
Test if a given function is a constructor function.
defines: [isConstructor]
features: [Reflect.construct]
--- |
596 |
symbol-coercion.js |
---
esid: sec-toboolean
description: >
Boolean coercion operations on Symbols
features: [Symbol]
--- |
381 |