Math.sinh() 函数返回一个数字 (单位为角度) 的双曲正弦值。
语法
Math.sinh(x)
参数
x- : 任意数字 (单位为度).
描述
双曲正弦的图像如下:
示例
Math.sinh(-Infinity); // -Infinity
Math.sinh(-0); // -0
Math.sinh(0); // 0
Math.sinh(1); // 1.1752011936438014
Math.sinh(Infinity); // Infinity
规范
浏览器兼容性
参见
core-js中Math.sinh的 polyfill- Math.acos()
- Math.asin()
- Math.atan()
- Math.atan2()
- Math.cos()
- Math.tan()
来源:MDN Web Docs / Mozilla 贡献者 · 作者与贡献记录 · CC BY-SA 2.5。离线整理了版式、链接和媒体显示。
