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

Code:
<script>
	var x = 10 + 20 * 5;
	document.getElementById("tes").innerHTML = x;
</script>
  • (A) 110
  • (B) 150
  • (C) TypeError
  • (D) ValueError
πŸ’¬ Discuss
βœ… Correct Answer: (A) 110

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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