Math.tanh() ফাংশনটি একটি কোণ (রেডিয়ানে) গ্রহণ করে এবং তার হাইপারবোলিক ট্যাঞ্জেন্ট মান রিটার্ন করে।
সিনট্যাক্স
Math.tanh(x)
উদাহরণ
<html> <head> <title>JavaScript Example</title> </head> <body> <script type="text/javascript"> var result = Math.tanh(90); document.write("Hyperbolic tangent: "+result); </script> </body> </html>
আউটপুট
Hyperbolic tangent value of the given angle: 1