P

Praveen Singh • 36.81K Points
Coach

Q. Which one of the given options can be considered as the correct output of the following code?

Code:
var addition=newFunction("number1","number2","return number1+number2");  
document.writeln(addition(10,5));  
  • (A) 12
  • (B) 13
  • (C) 15
  • (D) Error
  • Correct Answer - Option(C)
  • Views: 165
  • Filed under category JavaScript

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.


Question analytics