diff options
Diffstat (limited to 'files/fr/web/javascript/reference/global_objects/math/sinh/index.html')
-rw-r--r-- | files/fr/web/javascript/reference/global_objects/math/sinh/index.html | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/files/fr/web/javascript/reference/global_objects/math/sinh/index.html b/files/fr/web/javascript/reference/global_objects/math/sinh/index.html index 612fa5e64e..4edf3a2ad5 100644 --- a/files/fr/web/javascript/reference/global_objects/math/sinh/index.html +++ b/files/fr/web/javascript/reference/global_objects/math/sinh/index.html @@ -19,8 +19,6 @@ original_slug: Web/JavaScript/Reference/Objets_globaux/Math/sinh <div>{{EmbedInteractiveExample("pages/js/math-sinh.html")}}</div> -<p class="hidden">Le code source de cet exemple interactif est disponible dans un dépôt GitHub. Si vous souhaitez contribuez à ces exemples, n'hésitez pas à cloner <a href="https://github.com/mdn/interactive-examples">https://github.com/mdn/interactive-examples</a> et à envoyer une <em>pull request</em> !</p> - <h2 id="Syntaxe">Syntaxe</h2> <pre class="syntaxbox">Math.sinh(<var>x</var>)</pre> @@ -49,7 +47,7 @@ Math.sinh(1) // 1.1752011936438014</pre> <p>Si cette fonction n'est pas disponible, elle peut être émulée en utilisant la fonction {{jsxref("Math.exp()")}}<code> :</code></p> -<pre class="brush: js language-js">Math.sinh = Math.sinh || function(x){ +<pre class="brush: js">Math.sinh = Math.sinh || function(x){ return (Math.exp(x) - Math.exp(-x)) / 2; };</pre> |