browser.js |
|
0 |
length.js |
---
esid: sec-isfinite-number
description: >
The length property of isFinite is 1
includes: [propertyHelper.js]
--- |
398 |
name.js |
---
esid: sec-isfinite-number
description: >
isFinite.name is "isFinite".
info: |
isFinite (number)
17 ECMAScript Standard Built-in Objects:
Every built-in Function object, including constructors, that is not
identified as an anonymous function has a name property whose value
is a String.
Unless otherwise specified, the name property of a built-in Function
object, if it exists, has the attributes { [[Writable]]: false,
[[Enumerable]]: false, [[Configurable]]: true }.
includes: [propertyHelper.js]
--- |
817 |
not-a-constructor.js |
---
esid: sec-ecmascript-standard-built-in-objects
description: >
isFinite does not implement [[Construct]], is not new-able
info: |
ECMAScript Function Objects
Built-in function objects that are not identified as constructors do not
implement the [[Construct]] internal method unless otherwise specified in
the description of a particular function.
sec-evaluatenew
...
7. If IsConstructor(constructor) is false, throw a TypeError exception.
...
includes: [isConstructor.js]
features: [Reflect.construct, arrow-function]
--- |
855 |
prop-desc.js |
---
esid: sec-isfinite-number
description: >
Property descriptor for isFinite
includes: [propertyHelper.js]
--- |
391 |
return-abrupt-from-tonumber-number-symbol.js |
---
esid: sec-isfinite-number
description: >
Throws a TypeError if number is a Symbol
info: |
isFinite (number)
1. Let num be ? ToNumber(number).
features: [Symbol]
--- |
419 |
return-abrupt-from-tonumber-number.js |
---
esid: sec-isfinite-number
description: >
Return abrupt completion from ToNumber(number)
info: |
isFinite (number)
1. Let num be ? ToNumber(number).
--- |
630 |
return-false-on-nan-or-infinities.js |
---
esid: sec-isfinite-number
description: >
Return false if number is NaN, Infinity or -Infinity
info: |
isFinite (number)
1. Let num be ? ToNumber(number).
2. If num is NaN, +∞, or -∞, return false.
--- |
547 |
return-true-for-valid-finite-numbers.js |
---
esid: sec-isfinite-number
description: >
Return true if number is not NaN, Infinity or -Infinity
info: |
isFinite (number)
1. Let num be ? ToNumber(number).
2. If num is NaN, +∞, or -∞, return false.
3. Otherwise, return true.
--- |
942 |
S15.1.2.5_A2.6.js |
---
info: The isFinite property has not prototype property
esid: sec-isfinite-number
description: Checking isFinite.prototype
--- |
404 |
S15.1.2.5_A2.7.js |
---
info: The isFinite property can't be used as constructor
esid: sec-isfinite-number
description: >
If property does not implement the internal [[Construct]] method,
throw a TypeError exception
--- |
451 |
shell.js |
---
description: |
Test if a given function is a constructor function.
defines: [isConstructor]
features: [Reflect.construct]
--- |
596 |
tonumber-operations.js |
---
esid: sec-isfinite-number
description: >
number argument is converted by ToNumber
info: |
isFinite (number)
1. Let num be ? ToNumber(number).
2. If num is NaN, +∞, or -∞, return false.
3. Otherwise, return true.
--- |
1066 |
toprimitive-call-abrupt.js |
---
esid: sec-isfinite-number
description: >
Return abrupt completion calling number.@@toPrimitive
info: |
isFinite (number)
1. Let num be ? ToNumber(number).
ToPrimitive ( input [ , PreferredType ] )
[...]
4. Let exoticToPrim be ? GetMethod(input, @@toPrimitive).
5. If exoticToPrim is not undefined, then
a. Let result be ? Call(exoticToPrim, input, « hint »).
features: [Symbol.toPrimitive]
--- |
734 |
toprimitive-get-abrupt.js |
---
esid: sec-isfinite-number
description: >
Return abrupt completion getting number.@@toPrimitive
info: |
isFinite (number)
1. Let num be ? ToNumber(number).
ToPrimitive ( input [ , PreferredType ] )
[...]
4. Let exoticToPrim be ? GetMethod(input, @@toPrimitive).
features: [Symbol.toPrimitive]
--- |
660 |
toprimitive-not-callable-throws.js |
---
esid: sec-isfinite-number
description: >
Throws a TypeError if number.@@toPrimitive is not null, undefined, or callable
info: |
isFinite (number)
1. Let num be ? ToNumber(number).
ToPrimitive ( input [ , PreferredType ] )
[...]
4. Let exoticToPrim be ? GetMethod(input, @@toPrimitive).
GetMethod (V, P)
[...]
2. Let func be ? GetV(V, P).
3. If func is either undefined or null, return undefined.
4. If IsCallable(func) is false, throw a TypeError exception.
features: [Symbol.toPrimitive]
--- |
1223 |
toprimitive-result-is-object-throws.js |
---
esid: sec-isfinite-number
description: >
Throws a TypeError if the result of calling number.@@toPrimitive is an Object
info: |
isFinite (number)
1. Let num be ? ToNumber(number).
ToPrimitive ( input [ , PreferredType ] )
[...]
4. Let exoticToPrim be ? GetMethod(input, @@toPrimitive).
5. If exoticToPrim is not undefined, then
a. Let result be ? Call(exoticToPrim, input, « hint »).
b. If Type(result) is not Object, return result.
c. Throw a TypeError exception.
features: [Symbol.toPrimitive]
--- |
831 |
toprimitive-result-is-symbol-throws.js |
---
esid: sec-isfinite-number
description: >
Throws a TypeError if the result of calling number.@@toPrimitive is a symbol
info: |
isFinite (number)
1. Let num be ? ToNumber(number).
ToNumber ( argument )
1. Let primValue be ? ToPrimitive(argument, hint Number).
2. Return ? ToNumber(primValue).
ToPrimitive ( input [ , PreferredType ] )
[...]
4. Let exoticToPrim be ? GetMethod(input, @@toPrimitive).
5. If exoticToPrim is not undefined, then
a. Let result be ? Call(exoticToPrim, input, « hint »).
b. If Type(result) is not Object, return result.
features: [Symbol.toPrimitive]
--- |
929 |
toprimitive-valid-result.js |
---
esid: sec-isfinite-number
description: >
Use non-object value returned from @@toPrimitive method
info: |
isFinite (number)
1. Let num be ? ToNumber(number).
ToPrimitive ( input [ , PreferredType ] )
[...]
4. Let exoticToPrim be ? GetMethod(input, @@toPrimitive).
5. If exoticToPrim is not undefined, then
a. Let result be ? Call(exoticToPrim, input, « hint »).
b. If Type(result) is not Object, return result.
features: [Symbol.toPrimitive]
--- |
2151 |