Math 객체의 imul() 함수는 두 개의 숫자를 받아들이고 주어진 숫자의 C와 같은 32비트 곱의 결과를 반환합니다.
구문
구문은 다음과 같습니다.
Math.imul(47, 56);
예시
<html>
<head>
<title>JavaScript Example</title>
</head>
<body>
<script type="text/javascript">
var result = Math.imul(47, 56);
document.write("Result: "+result);
</script>
</body>
</html> 출력
Result: 2632