JavaScript cbrt() method
- Previous Page atanh()
- Next Page ceil()
- Go Back to the Previous Level JavaScript Math Reference Handbook
Definition and usage
cbrt()
The method returns the cube root (third root) of a number.
Syntax
Math.cbrt(x)
Parameter value
Parameter | Description |
---|---|
x | Required. Number. |
Technical details
Return value: | Number. |
---|---|
JavaScript version: | ECMAScript 6 |
Browser support
Math.cbrt()
It is an ES6 feature (JavaScript 2015). All modern browsers support it:
Chrome | Edge | Firefox | Safari | Opera |
---|---|---|---|---|
Supported | Supported | Supported | Supported | Supported |
Note:Internet Explorer does not support Math.cbrt().
Related Pages
Tutorial:JavaScript Mathematics
- Previous Page atanh()
- Next Page ceil()
- Go Back to the Previous Level JavaScript Math Reference Handbook