applying-the-exp-operator_A1.js |
---
description: If exponent is NaN, the result is NaN.
esid: sec-applying-the-exp-operator
--- |
722 |
applying-the-exp-operator_A2.js |
---
description: If exponent is +0, the result is 1, even if base is NaN.
esid: sec-applying-the-exp-operator
--- |
778 |
applying-the-exp-operator_A3.js |
---
description: If exponent is −0, the result is 1, even if base is NaN.
esid: sec-applying-the-exp-operator
--- |
766 |
applying-the-exp-operator_A4.js |
---
description: If base is NaN and exponent is nonzero, the result is NaN.
esid: sec-applying-the-exp-operator
--- |
767 |
applying-the-exp-operator_A5.js |
---
description: If abs(base) > 1 and exponent is +∞, the result is +∞.
esid: sec-applying-the-exp-operator
--- |
761 |
applying-the-exp-operator_A6.js |
---
description: If abs(base) > 1 and exponent is −∞, the result is +0.
esid: sec-applying-the-exp-operator
--- |
674 |
applying-the-exp-operator_A7.js |
---
description: If abs(base) is 1 and exponent is +∞, the result is NaN.
esid: sec-applying-the-exp-operator
--- |
518 |
applying-the-exp-operator_A8.js |
---
description: If abs(base) is 1 and exponent is −∞, the result is NaN.
esid: sec-applying-the-exp-operator
--- |
520 |
applying-the-exp-operator_A9.js |
---
description: If abs(base) < 1 and exponent is +∞, the result is +0.
esid: sec-applying-the-exp-operator
--- |
561 |
applying-the-exp-operator_A10.js |
---
description: If abs(base) < 1 and exponent is −∞, the result is +∞.
esid: sec-applying-the-exp-operator
--- |
651 |
applying-the-exp-operator_A11.js |
---
description: If base is +∞ and exponent > 0, the result is +∞.
esid: sec-applying-the-exp-operator
--- |
682 |
applying-the-exp-operator_A12.js |
---
description: If base is +∞ and exponent < 0, the result is +0.
esid: sec-applying-the-exp-operator
--- |
601 |
applying-the-exp-operator_A13.js |
---
description: If base is −∞ and exponent > 0 and exponent is an odd integer, the result is −∞.
esid: sec-applying-the-exp-operator
--- |
627 |
applying-the-exp-operator_A14.js |
---
description: If base is −∞ and exponent > 0 and exponent is not an odd integer, the result is +∞.
esid: sec-applying-the-exp-operator
--- |
731 |
applying-the-exp-operator_A15.js |
---
description: If base is −∞ and exponent < 0 and exponent is an odd integer, the result is −0.
esid: sec-applying-the-exp-operator
--- |
546 |
applying-the-exp-operator_A16.js |
---
description: If base is −∞ and exponent < 0 and exponent is not an odd integer, the result is +0.
esid: sec-applying-the-exp-operator
--- |
662 |
applying-the-exp-operator_A17.js |
---
description: If base is +0 and exponent > 0, the result is +0.
esid: sec-applying-the-exp-operator
--- |
576 |
applying-the-exp-operator_A18.js |
---
description: If base is +0 and exponent < 0, the result is +∞.
esid: sec-applying-the-exp-operator
--- |
677 |
applying-the-exp-operator_A19.js |
---
description: If base is −0 and exponent > 0 and exponent is an odd integer, the result is −0.
esid: sec-applying-the-exp-operator
--- |
534 |
applying-the-exp-operator_A20.js |
---
description: If base is −0 and exponent > 0 and exponent is not an odd integer, the result is +0.
esid: sec-applying-the-exp-operator
--- |
637 |
applying-the-exp-operator_A21.js |
---
description: If base is −0 and exponent < 0 and exponent is an odd integer, the result is −∞.
esid: sec-applying-the-exp-operator
--- |
621 |
applying-the-exp-operator_A22.js |
---
description: If base is −0 and exponent < 0 and exponent is not an odd integer, the result is +∞.
esid: sec-applying-the-exp-operator
--- |
738 |
applying-the-exp-operator_A23.js |
---
description: If base < 0 and base is finite and exponent is finite and exponent is not an integer, the result is NaN.
esid: sec-applying-the-exp-operator
--- |
986 |
browser.js |
|
0 |
int32_min-exponent.js |
---
esid: sec-applying-the-exp-operator
description: >
Using -(2**31) as exponent with Math.pow should behave as expected.
--- |
641 |
length.js |
---
esid: sec-math.pow
description: >
Math.pow.length is 2.
info: |
Math.pow ( x, y )
17 ECMAScript Standard Built-in Objects:
Every built-in Function object, including constructors, has a length
property whose value is an integer. Unless otherwise specified, this
value is equal to the largest number of named arguments shown in the
subclause headings for the function description, including optional
parameters. However, rest parameters shown using the form "...name"
are not included in the default argument count.
Unless otherwise specified, the length property of a built-in Function
object has the attributes { [[Writable]]: false, [[Enumerable]]: false,
[[Configurable]]: true }.
includes: [propertyHelper.js]
--- |
1037 |
name.js |
---
esid: sec-math.pow
description: >
Math.pow.name is "pow".
info: |
Math.pow ( x, y )
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]
--- |
800 |
not-a-constructor.js |
---
esid: sec-ecmascript-standard-built-in-objects
description: >
Math.pow 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]
--- |
854 |
prop-desc.js |
---
esid: sec-math.pow
description: >
Math.pow ( base, exponent )
info: |
17 ECMAScript Standard Built-in Objects:
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]
--- |
604 |
shell.js |
---
description: |
Test if a given function is a constructor function.
defines: [isConstructor]
features: [Reflect.construct]
--- |
596 |