THE WORLD'S LARGEST WEB DEVELOPER SITE

JavaScript cbrt() Method

❮ JavaScript Math Object

Example

Return the cubic root of a number:

Math.cbrt(125);
Try it Yourself »

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

❮ JavaScript Math Object