Math 개체의 이 함수는 숫자를 받아들이고 Ex 값을 반환합니다. 여기서 x와 E는 인수이고 자연 로그의 오일러 상수입니다.
구문
구문은 다음과 같습니다.
Math.exp(12)
예시
<html>
<head>
<title>JavaScript Example</title>
</head>
<body>
<script type="text/javascript">
var result = Math.exp(12);
document.write("Result: "+result);
</script>
</body>
</html> 출력
Result: 162754.79141900392