in JavaScript by
Q:

What will be the correct output of the following JavaScript code?

<p id="demo"></p>  

<script>  

functionmyFunc()  

{  

document.getElementById("demo").innerHTML=Math.asinh(1);  

}  

</script>  
 

a) 0.80

b) 0.78

c) 0.50

d) 0.88

► Click here to show 1 Answer

0 votes
by

Answer: D

Reason: The "asinh()" method used in the given code is a predefined method available in the math's library of the JavaScript which returns the hyperbolic arcsine of a number.

JavaScript
Learn More with Madanswer
...