Baseline Widely available
Die Math.sinh()
statische Methode gibt den hyperbolischen Sinus einer Zahl zurück. Das heiÃt,
console.log(Math.sinh(0));
// Expected output: 0
console.log(Math.sinh(1));
// Expected output: 1.1752011936438014
console.log(Math.sinh(-1));
// Expected output: -1.1752011936438014
console.log(Math.sinh(2));
// Expected output: 3.626860407847019
Syntax Parameter Rückgabewert
Der hyperbolische Sinus von x
.
Da sinh()
eine statische Methode von Math
ist, verwenden Sie sie immer als Math.sinh()
und nicht als Methode eines von Ihnen erstellten Math
Objekts (Math
ist kein Konstruktorkonstruktor).
Math.sinh(-Infinity); // -Infinity
Math.sinh(-0); // -0
Math.sinh(0); // 0
Math.sinh(1); // 1.1752011936438014
Math.sinh(Infinity); // Infinity
Spezifikationen Browser-Kompatibilität Siehe auch MDN-Feedback-Box War diese Ãbersetzung hilfreich?
Diese Seite wurde automatisch aus dem Englischen übersetzt.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4