English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

JavaScript Math.cbrt() Method

 JavaScript Math Object

Math.cbrt()The method returns the cube root of a number.

Since cbrt() is a static method of Math, you should always use it asMath.cbrt(), rather than as a method of the created Math object.

Syntax:

Math.cbrt(x)
Math.cbrt(64);
Test and See‹/›

Browser Compatibility

The number in the table specifies the first browser version that fully supports the Math.cbrt() method:

Method
Math.cbrt()382525812

Parameter Value

ParameterDescription
xNumber

Technical Details

Return Value:Cube Root of a Given Number
JavaScript Version:ECMAScript 6

 JavaScript Math Object