Q. Which one of the following is correct output for the following given JavaScript code:

Code:
<p id="demo"></p>  
<script>  
function Function1()  
{  
document.getElementById("demo").innerHTML=Math.cbrt(792);  
}  
</script>  
  • (A) 972
  • (B) 81
  • (C) 9
  • (D) Error
πŸ’¬ Discuss
βœ… Correct Answer: (A) 972

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
221
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Akshay Kulkarni
Publisher
πŸ“ˆ
85%
Success Rate