πŸ“Š JavaScript
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
πŸ’¬ Discuss
βœ… Correct Answer: (D) 59

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
274
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Admin
Publisher
πŸ“ˆ
96%
Success Rate