JavaScript Math.atanh() Method
You are Here:
JavaScript Math.atanh() Method
The Math.atanh()
method returns the hyperbolic arc-tangent of a number.
Example
HTML Online Editor
<!DOCTYPE html>
<html>
<body>
<script>
var result = Math.atanh(0.5);
document.write(result);
</script>
</body>
</html>
Syntax
Math.atanh(0.5)
Parameter Values
Value | Type | Explanation |
---|---|---|
x | Required | Specifies a number. |
Return Value
Value | Explanation |
---|---|
Number | Returns the hyperbolic arc-tangent of x. |
Infinity | If the given value is 1. |
-Infinity | If the given value is -1. |
NaN | If the given value is greater than 1, or less than -1. |
Reminder
Hi Developers, we almost covered 97% of JavaScript Tutorials with examples for quick and easy learning.
We are working to cover every Single Concept in JavaScript.
Please do google search for:
Join Our Channel
Join our telegram channel to get an instant update on depreciation and new features on HTML, CSS, JavaScript, jQuery, Node.js, PHP and Python.
This channel is primarily useful for Full Stack Web Developer.