A

Admin • 36.96K Points
Coach

Q. What will be the output of the following code snippet?

Code:
<script type="text/javascript">
a = 5 + "9";
document.write(a);
</script>
  • (A) Compilation Error
  • (B) 14
  • (C) Runtime Error
  • (D) 59
  • Correct Answer - Option(D)
  • Views: 201
  • 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