JavaScript cbrt() Method
Definition and Usage
The cbrt() method returns the cubic root of a number.
Browser Support
Method | |||||
---|---|---|---|---|---|
cbrt() | 38 | 12 | 25 | 8 | 25 |
Syntax
Math.cbrt(x)
Parameter Values
Parameter | Description |
---|---|
x | Required. A number |
Technical Details
Return Value: | A Number |
---|---|
JavaScript Version: | ECMAScript 6 |