Math 객체의 cbrt() 함수는 숫자를 받아들이고 그 세제곱근을 반환합니다.
구문
구문은 다음과 같습니다.
Math.cbrt(729)
예시
<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> 출력
Cube root of the given number: 9