A

Admin • 833K Points
Coach

Q. Find output of below Javascript code

Code:
<script>
document.write(2+2 + " = 2 plus 2");
</script>
  • (A) 4 + = 2 plus 2
  • (B) 4 = 2 plus 2
  • (C) 2+2+ = 2 plus 2
  • (D) Syntax Error
  • Correct Answer - Option(B)
  • Views: 18
  • Filed under category JavaScript
  • Hashtags:

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.