Hyperbolic Sine in JavaScript
Level 126 keystrokes
Math.sinh() returns the hyperbolic sine of 1 and prints 1.1752011936438014.
JavaScript code
// Math.sinh(x) returns the hyperbolic sine, (e ** x - e ** -x) / 2// For x = 1 that is about 1.1752; Math.sinh(0) would be 01console.log(Math.sinh(1));Output
1.1752011936438014
Practice typing this code. Results are not recorded in the rankings.
Symbols in this code
The symbols you type in this JavaScript code and how often they appear.
.× 2(× 2)× 2;× 1