The cbrt() function of the Math object accepts a number and returns its cube root.
Syntax
Its Syntax is as follows
Math.cbrt(729)
Example
<html>
<head>
<title>JavaScript Example</title>
</head>
<body>
<script type="text/javascript">
var result = Math.cbrt(729));
document.write("<br>");
document.write("Cube root of the given number: "+result);
</script>
</body>
</html>Output
Cube root of the given number: 9