πŸ“Š JavaScript
Q. Which one of the following options is the correct output for the given code of JavaScript?
Code:
var pow=newFunction("num1","num2","return Math.pow(num1,num2)");  
document.writeln(pow(2,3));  
  • (A) 8
  • (B) 3
  • (C) 6
  • (D) Error
πŸ’¬ Discuss
βœ… Correct Answer: (A) 8

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
202
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Yashika
Publisher
πŸ“ˆ
93%
Success Rate