--- title: Math.asinh() slug: Web/JavaScript/Reference/Global_Objects/Math/asinh tags: - JavaScript - Math - Méthode - Reference translation_of: Web/JavaScript/Reference/Global_Objects/Math/asinh original_slug: Web/JavaScript/Reference/Objets_globaux/Math/asinh --- {{JSRef}} La fonction **`Math.asinh()`** renvoie l'arc sinus hyperbolique d'un nombre : Math.asinh(x)=arsinh(x)= le seul ytel quesinh(y)=x\mathtt{\operatorname{Math.asinh}(x)} = \operatorname{arsinh}(x) = \text{ the unique } \; y \; \text{such that} \; \sinh(y) = x {{EmbedInteractiveExample("pages/js/math-asinh.html")}} ## Syntaxe Math.asinh(x) ### Paramètres - `x` - : Un nombre. ### Valeur de retour L'arc sinus hyperbolique du nombre passé en argument. ## Description `asinh()` étant une méthode statique de `Math`, elle doit toujours être utilisée avec la syntaxe `Math.asinh()` et ne doit pas être appelée depuis un autre objet qui aurait été créé (Math n'est pas un constructeur). ## Exemple ### Utiliser `Math.asinh()` ```js Math.asinh = Math.asinh || function(x) { if (x === -Infinity) { return x; } else { return Math.log(x + Math.sqrt(x * x + 1)); } }; ``` ## Spécifications | Spécification | État | Commentaires | | ---------------------------------------------------------------------------- | ---------------------------- | -------------------- | | {{SpecName('ES6', '#sec-math.asinh', 'Math.asinh')}} | {{Spec2('ES6')}} | Définition initiale. | | {{SpecName('ESDraft', '#sec-math.asinh', 'Math.asinh')}} | {{Spec2('ESDraft')}} |   | ## Compatibilité des navigateurs {{Compat("javascript.builtins.Math.asinh")}} ## Voir aussi - {{jsxref("Math.acosh()")}} - {{jsxref("Math.atanh()")}} - {{jsxref("Math.cosh()")}} - {{jsxref("Math.sinh()")}} - {{jsxref("Math.tanh()")}}