0 votes
in JavaScript by

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

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.

Related questions

0 votes
asked Mar 23, 2021 in JavaScript by sharadyadav1986
0 votes
asked Mar 23, 2021 in JavaScript by sharadyadav1986
...