Parameters or Arguments
number The range used to calculate the hyperbolic sine.
The sinh() function returns the hyperbolic sine of a number.
Math is a placeholder object that includes mathematical features and constants of which sinh() is one of these functions.
console.log(Math.sinh(0.8)); console.log(Math.sinh(1)); console.log(Math.sinh(-5));
In this example, we have invoked the sinh() characteristic the use of the Math class.
We have written the output of the sinh() characteristic to the web browser console log, for demonstration purposes, to show what the sinh() feature returns.
The following will be output to the net browser console log:
0.888105982187623 1.1752011936438014 -74.20321057778875
In this example, the first output to the console log back 0.888105982187623 which is the hyperbolic sine of 0.8.
The 2nd output to the console log back 1.1752011936438014 which is the hyperbolic sine of 1.
The third output to the console log lower back -74.20321057778875 which is the hyperbolic sine of -5.